How can we submit a form without a submit button?
Answer Posted / bharat
we can click the image or text link.
for example:
<script>
function formsubmit()
{
document.form1.action="Page Name here you want to go that
page";
document.form1.submit();
}
</script>
<form name="form1" method="post">
<a href="#" onclick="formsubmit();">Click here</a>
</form>
| Is This Answer Correct ? | 196 Yes | 43 No |
Post New Answer View All Answers
What is default session time and path in PHP. How to change it?
How to write in a file in php?
What is local variable in php?
Explain the difference between isset() and empty()?
How to fix "headers already sent" error in php
How does api connect to database?
What does the function get_magic_quotes_gpc() means?
What is session management php?
What is json php?
Code to open file download dialog in PHP?
What is a composer?
What backslash character will match whitespace?
What changes I have to do in php.ini file for file uploading?
What is use of mysqli_query in php?
Why super () is used in java?