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
Tell me how to strip whitespace (or other characters) from the beginning and end of a string?
What is the use of post in php?
How to get the http request in php?
Is php an object or array?
What is phpsessid?
What is a closure in php?
What is the Default syntax used in PHP?
What is difference between php and wordpress?
When do you use define() and when do you use const. What are the main differences between those two?
What is action hooks and filter hooks?
What are examples of dependent variables?
What is alias in php?
What is static variable in php?
What is php explain?
What is cookie and session in php?