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

Explain what is the use of "echo" in php?

557


What is meant by pear in php? What is the purpose of it?

524


What are the php functions?

554


how to detect a mobile device using php

590


Can constructor be private in php?

540






Write down the code for saving an uploaded file in PHP.

599


What is the purpose of the '.myi' file extension? What do thes file contain?

524


How to randomly retrieve a value from an array?

554


What are the encryption functions available in PHP?

571


Why is used in php?

530


Write a program using while loop in php?

571


How many php functions are there?

548


What is an array in php?

620


Why php 7 is faster?

511


what is PDO?

801