Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form Submit without a Submit button
Message
From
13/04/1998 21:03:03
 
 
To
13/04/1998 13:46:45
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, United States
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00091573
Message ID:
00091650
Views:
16
>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
Map
View

Click here to load this message in the networking platform