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 do I run a php file?
How to assigning a new character in a string using php?
Is a number php?
What is a php 5?
What is csrf validation?
How can I prevent sql-injection in php?
How to insert a line break in php string?
Are php sessions cookies?
What is php session_start() and session_destroy() function?
What are php data types?
How I can control asset documents without GR/IR?
What is the function used to change the root directory in PHP?
How to open a file for reading?
How to include variables in double-quoted strings?
What is implode() in php?