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 to find the index of an element in an array php?
What is session_register()?
Is php closing tag necessary?
Tell me how to create a text file in php?
How to create an array of a group of items inside an html form?
What are the advantages and disadvantages of cascade style sheets?
How do you end a function in python?
How do you pass a variable by value in php?
How to convert one date format into another in php?
What is purpose of @ in Php?
What is php namespace?
How does php and apache work?
What are the uses of php language?
Explain about require and include function?
Which variable declarations within a class is invalid in php?