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
What is the main difference between require() and include()?
How is a session id generated?
What are php loops?
What type of operation is needed when passing values through a form or an url?
Tell me what does the scope of variables means?
How to redirect a url from http to https in .htaccess?
Is php a dying language?
What are the data types in php?
where do we use htaccess?
Tell me is it possible to remove the html tags from data?
Which is the best php framework for a beginner?
What is php routing?
What is php date function?
How we load all classes that placed in different directory in one php file , means how to do auto load classes.
What is user defined function in php?