How can we submit a form without a submit button?
Answer Posted / viktor
Into HEAD section:
<script language="javascript" type="text/javascript">
function DoSubmit ()
{
document.myform.submit();
}
</script>
BODY section:
<body onload="document['myform'].submit()">
<form action="http://www.mysite.com/post.php" method="post"
name="myform" target="_self">
</form>
</body>
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
Explain the types of string comparision function in PHP
Is php easy language to learn?
How does cookies work in php?
Which php framework is best?
What is the use of htmlspecialchars in php?
What are examples of independent and dependent variables?
Can I learn php in a month?
What is encapsulation in php?
What is a model in php?
What is a php web application?
Do you know what does $globals means?
How many different types of messages available in php?
Can I write php code in html file?
How is a session id generated?
Write the statements that are used to connect php with mysql