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
Write a program to show the joining of two strings in php?
How do I expire a php session after 30 minutes?
What is meant by urlencode and urldecode?
Can we override magic methods in php?
Is php faster than javascript?
Code to upload a file in PHP?
How many ways to include array elements in double-quoted strings using php?
Is array empty php?
What is the difference between null and empty?
How can you compare objects in php?
Applications written to provide a GUI shell for Unix and Linux are called
What is the use of magic function in php?
What is the purpose of the '.frm' file extension? What do thes file contain?
How do I escape data before storing it into the database?
How do you end a session in php?