Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

submit form on change

<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>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #submit #form #change
ADD COMMENT
Topic
Name
6+5 =