How can we submit a form without a submit button?

Answers were Sorted based on User's Feedback



How can we submit a form without a submit button?..

Answer / vijay

Using javascript
document.form.submit()

Is This Answer Correct ?    33 Yes 5 No

How can we submit a form without a submit button?..

Answer / 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

How can we submit a form without a submit button?..

Answer / naresh

through header() function.
header("location:url:);

Is This Answer Correct ?    4 Yes 7 No

How can we submit a form without a submit button?..

Answer / yogesh chaudhari

onBlur event use control

Is This Answer Correct ?    4 Yes 13 No

Post New Answer

More PHP Interview Questions

How many php functions are there?

0 Answers  


What is design pattern? Explain all including singleton pattern?

0 Answers  


If there are 10 text boxes in a form having same name, their value are different. Value of which textbox will be received on action script?

20 Answers   A1 Technology, Bajaj, DG, Genpact,


what is used for tmp table in oracle?

0 Answers  


Write logic to print Floyd's triangle in PHP?

0 Answers  






How to get the http request in php?

0 Answers  


What is the function of string in c?

0 Answers  


What is restful api?

0 Answers  


How to call a php function from html button?

0 Answers  


How long should a session last?

0 Answers  


if i give Limit for mysql query through php command line script like this for ex. $limit=500; $total_items = 1500; for($start=0;$start<$total_items;){ $command = "/usr/bin/php -q /home/sitename/public_html/admin/feedmanager/test.php feedid ".$_GET['feedid']." start ".$start." end ".$limit ; $start = $start+$limit; $command_result = system($command); } so it's execute command for 3 times so it give limit to sql query but if i have 27000 data so it takes long time? so my question is that is that any way from php command line script that i can use for collect all the data at once?

0 Answers  


What is a closure in php?

0 Answers  


Categories