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 are the advantages and disadvantages of cascade style sheets?

0 Answers  


What is php how it works?

0 Answers  


What is repository in php?

0 Answers  


How we get browser details of clients machine?

0 Answers  


How do I run php?

0 Answers  






What are the 5 types of variables?

0 Answers  


How do you use end in python?

0 Answers  


Which is better #define or enum?

0 Answers  


What is form validation in php?

0 Answers  


hi, i am new for php I want to know where to create & how to run phpscript programme in LAMP?

2 Answers  


What is xss in php?

0 Answers  


How can we check the value of a given variable is a number?

0 Answers  


Categories