General information
Category:
Internet applications
>Is there any way to create a drop down menu on a web page and have the user select an item from the menu and then have the HTML form fire off a form action like a request.
>
>I know this can be done by having a drop down and a submit button. But I want to do away with the submit button and have the action send after the user selects an item from the drop down.
You need to use JavaScript to do this. Basically you can hook the onChange and onBlur events force the submit. There are two cautions here. 1) If there is any alternative use of the popup (eg just looking at the choices), some users may not appreciated being whisked away to a new page just for expanding a popup. 2) Some browsers do not support JavaScript, so you really need the Go button anyway.
Randy
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only