HOW TO SUBMIT FORM WHEN DROP DOWN MENU ONCHANGE OR SELECTED - Anna University Multiple Choice Questions

HOW TO SUBMIT FORM WHEN DROP DOWN MENU ONCHANGE OR SELECTED

Hello friends, here we are going to see how to submit the html form when the user selected any option in Drop down menu.

Generally in select menu, the user need to choose the option list and after submitting the form next page will be loaded. But by using "this.form.submit()" method we can submit the form when user had chosen or selected drop down menu list.

How to load page automatically drop down menu is selected?
How to submit page without submit button?

To submit automatically when user selected drop down menu option, we need to add " onchange='this.form.submit()" method inside select tag.

Sample Program:

Output:



Click Here to get -- > HTML Tutorials by Studentsblog100

No comments:

Post a Comment