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
Why use php artisan serve?
How do you measure variables?
What does $_env mean?
How to create a session? How to remove data from a session?
How to run the interactive php shell from the command line interface?
What is difference between html and php?
How long should a session last?
Which function will you use to create an array?
Why do you need to filter out empty files?
for image work which library?
What is php compared to html?
What are the Advantages and Application Areas of PHP?
What is $_ request?
How to break a file path name into parts?
How is it possible to return a value from a function?