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

Is multiple inheritance supported in php?

784


Do you know what is the function mysql_pconnect() usefull for?

714


Tell me what is the actually used php version?

766


Is php fully object oriented?

675


Tell me how comfortable are you with writing html entirely by hand?

715


Why use static methods php?

765


What is the difference between php traits vs interfaces?

700


How should a model be structured in mvc?

719


How to get a random value from a php array?

758


What is the function used to change the root directory in PHP?

804


What is the use of isset() in php?

770


What is the correct php command to use to catch any error messages within the code?

833


Applications written to provide a GUI shell for Unix and Linux are called

795


Tell me how to retrieve a cookie value?

733


What is difference between action hook and filter hook?

675