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

Can php use gettext?

0 Answers  


Is string php function?

0 Answers  


What are objects in php?

0 Answers  


What is the function file_get_contents() useful for?

0 Answers  


What is an associative array?

0 Answers  


Tell me how to retrieve a cookie value?

0 Answers  


hello experts good morning to everyone ! at present am now learning LAMP course sir( linux, apache,mysql and php) after finishing this course can i create my own website without investment is it possible ? please can any one tell sir and also tell me how can i upload my project after finishing the project in internet ? please tell the ways sir please send ur valuable suggestions to kiranpulsar2007@gmail.com

2 Answers  


What is php pathinfo?

0 Answers  


What is polymorphism with example in php?

0 Answers  


What percentage of websites use php?

0 Answers  


What is the function of trim?

0 Answers  


List some sorting functions in php?

0 Answers  


Categories