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

What does PEAR stands for?

820


How to check an key is exists in array?

738


Explain the difference between $var and $$var?

696


Tell me how can I display text with a php script?

730


Are static variables final?

745


Is php good for career?

732


What is the output of the following php code?

656


Write an example to remove html tags from a string in php?

694


What is strcmp?

719


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

746


Tell me what does the php error 'parse error in php - unexpected t_variable at line x' means?

763


What is the function file_get_contents() useful for?

680


What does $globals means?

698


what is the scope of php in the future if any other language is developed then may be php is loss ???

14192


Can we use include ("xyz.php") two times in a php page "index.php"?

779