How can we submit a form without a submit button?
Answer Posted / guest
The main idea behind this is to use Java script submit()
function in
order to submit the form without explicitly clicking any
submit button.
You can attach the document.formname.submit() method to onclick,
onchange events of different inputs and perform the form
submission. you
can even built a timer function where you can automatically
submit the
form after xx seconds once the loading is done (can be seen
in online
test sites).
| Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
What is the difference between public, protected and private?
What is the purpose of php?
How to call a php function from html button?
What is exception handling in php?
What is the tags in PHP is not a valid way to begin and end a PHP code block?
How to open a file for writing?
What is the use of token in php?
What is the use of friend function in php?
What are the two main string operators?
What are the different filter functions used to filter a variable?
Do you know how to declare an array in php?
How to reset/destroy a cookie?
So if md5() generates the most secure hash, why would you ever use the less secure crc32() and sha1()?
How can we access the data sent through the url with the post method?
Explain me what is the goto statement useful for?