how to make a drop down box submit a form how to make a drop down box submit a form
If you want a drop down box to submit a form there is a nice easy method of doing this
in the select statement simply add
<select name="CustomerID" onchange="form.submit();">
where CustomerID is the name you have given to your select box
sometime in google chrome this doesn't work if you have a submit button named submit.
The simple way around this is to change the submit button to another name.
Trending right now
How to get rid of an infestation of wasps or bees or actually any flying insects Healing pneumonia with raw ginger How to create a date array in php which come up with todays date selected How to break out of a frame javascript html Paper chain What Is Money and How It Is Just a Collective Illusion How to stop google chrome downloading automatically How to make a drop down box submit a form
|