How can we submit a form without a submit button?
Answer Posted / hitesh shrimali
we can submit form by submit(); function of javascript.
for example:
<form name='xyz' method='post'>
<select name='select' onchange="this.form.submit();">
<option value='1'>1</option>
<option value='2'>2</option>
<option value='3'>3</option>
<option value='4'>4</option>
</select>
</form>
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
How could I install codeignitor ?
What is php form validation?
What is csrf validation?
What is the function in PHP do not return a timestamp?
Explain what is the use of "echo" in php?
What are classes in php?
Why laravel is the best php framework in 2019?
How can you send email in php?
Which is not a file-related function in php?
What is difference between mysql_fetch_array and mysql_fetch_assoc?
What is inheritance in php? How many types of inheritance supports php?
What does php mean?
What is empty php?
How can php and html interact?
What does $globals mean?