Hello folks.
Drop-Down List (select-option form) require Two clicks: one for option and one for submit button.
Is there exist code for just one click to submit form ?
I finally found the code:
I finally found the code:
<form method="get" action="my.html" >
<select name="local" onClick="this.form.submit()" >
<OPTGROUP label="---- chose your local ----">
<option value="empty">Select a Continent</option>
<option value="North America">North America</option>
<option value="South America">South America</option>
<option value="Asia">Asia</option>
<option value="Europe">Europe</option>
</OPTGROUP>
</select>
</form>
You can have a drop down list to select, then have a seperate submit button, is this what you mean?
If so if you integrate this code to your script you will have the submit button to do so
Scott, he has it figured out. He just wanted one action instead of two. Select dropdown, he is done (Automatically submited at that point) as opposed to a two step action as he first posted, Select dropdown(First Action), then Click Submit Button(Second action)