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 is difference between php and html?
What will the ?getdate() function returns in PHP?
What is difference between echo and print_r in php?
What is the use of 'print' in php?
Does browser understand php?
How to find the position of the first occurrence of a substring in a string?
How many days will it take to learn php?
PHP serverside scripting language or client side scripting language>
Whether session will work if we disable cookies in client browser ?
How do you check if a variable has been set in php?
What is the use of extract function in php?
which is the best institute for php training near delhi & NCR......& what is the fee for the same....