How to submit form on change of dropdown list?
Simple JavaScript will do -
<form action="myservlet.do" method="POST">
<select name="myselect" id="myselect" onchange="this.form.submit()">
<option value="1">One</option>
<option value="2">Two</option>
<option value="3">Three</option>
<option value="4">Four</option>
</select>
</form>
Here is a link for a good javascript tutorial.
Just ask assistance of JavaScript.
<select onchange="this.form.submit()">
...
</select>
See also:
- HTML dog - JavaScript tutorial