How can we submit a form without a submit button?
Answers were Sorted based on User's Feedback
<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 |
Answer / sakthiopr
document.Formname.action = "filename to be submit"
Is This Answer Correct ? | 3 Yes | 2 No |
What are the advantages and disadvantages of cascade style sheets?
What is php how it works?
What is repository in php?
How we get browser details of clients machine?
How do I run php?
What are the 5 types of variables?
How do you use end in python?
Which is better #define or enum?
What is form validation in php?
hi, i am new for php I want to know where to create & how to run phpscript programme in LAMP?
What is xss in php?
How can we check the value of a given variable is a number?