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 |
How to create a table using php?
How can we register the variables into a session?
List few sensible functions in PHP?
How to open a file for reading?
What are the basic steps to store PHP session in to Database?
What is the difference between $_files['userfile']['name'] and $_files['userfile']['tmp_name']?
How to implement a class named dragonball. This class must have an attribute named ballcount (which starts from 0) and a method ifoundaball. When ifoundaball is called, ballcount is increased by one. If the value of ballcount is equal to seven, then the message you can ask your wish is printed, and ballcount is reset to 0. How would you implement this class?
What are the special characters you need to escape in single-quoted stings?
How many ways to include array elements in double-quoted strings using php?
what is CURL?
What is mysql_fetch_array?
how to insert logout time when browser close