Classic ASP BasicsFor beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.
You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
I have a SELECT tag in my form. Is there a way to make it so when a user double clicks an item in the list (It is set as a listbox) that it would trigger the submit button?
The SELECT element supports the ondblclick event, so a bit of js in that event handler can submit the form for you, e.g.
<SELECT ... ondblclick="document.formName.submit();"> should do it for you.