Currently I have a dropdown menu and a submit button. After the user selects an item the user then clicks on submit botton which submits the results to Page2.jsp which processes it.
What I want is for the user to skip clicking the submit button and instead the page will auto submit whenever the user selects an item on the dropdown menu. Basically I do not want a submit botton but instead want the page to submit whenever the user selects an item from the dropdown menu.
I currently do not know how to implement this, if anybody knows how please help. Thanks.
My code
------------------------------------------------------------------------
<form name="form3" method="post" action = "http://localhost:8080/Page2.jsp">
<select name="select">
<%...Here is a
JSP code which will populate my dropdown menu from the DB...%>
//after the user selects an item from the menu
//action = "http://localhost:8080/Page2.jsp" should be performed.
</select>
</form>
</body>
</html>