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

<script>
function doSubmit()
{
var frm = window.document.frmName;
frm.action="path to php file";
frm.method = post;
frm.submit();
}
</script>

Is This Answer Correct ?    8 Yes 2 No

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

Answer / sakthiopr

document.Formname.action = "filename to be submit"

Is This Answer Correct ?    3 Yes 2 No

Post New Answer

More PHP Interview Questions

What is the difference between for and foreach loop in php?

0 Answers  


What are the popular frameworks in php?

0 Answers  


What is difference between md5 and SHA256?

0 Answers  


Is php procedural or oop?

0 Answers  


Is php a cms?

0 Answers  


which is the best institute for php training near delhi & NCR......& what is the fee for the same....

2 Answers  


How to upload and play video in Php when u r in localhost?

3 Answers   HCL,


What are the features of php 7?

0 Answers  


How do I debug php?

0 Answers  


How can we encrpt a text?

3 Answers  


What is $_ server request_method == post?

0 Answers  


Is null empty php?

0 Answers  


Categories