How can we submit a form without a submit button?

Answer Posted / snc

1st option.....
In java script we can easly submit form without submit
button..........
document.form.submit();
...where form is formname.

2nd option.......
<form id="form" name="form" method="post" action="abc.php">
<INPUT TYPE="IMAGE" SRC="images/imagename.gif" ALT="Submit
button">
</form>

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to execute a php script from the command line?

553


What is string in php?

552


What is faster?

550


How many php functions are there?

536


Is php a backend?

522






What is the role of the .htaccess file in php?

538


What is the difference between query and inquiry?

483


How can we display the output directly to the browser?

517


What is csrf token in php?

541


How to create an empty array in php?

569


Why session timeout is important?

610


What are getters and setters php?

535


What are hooks in php?

519


What are the different opening and closing tags available in PHP?

568


what is variable scope, which variables are accessible from where and what are "undefined variable" errors?

500