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
Is php a low level language?
What are the benefits of composer?
Why do we use hooks?
What is the use of mvc in php?
Explain difference between urlencode and urldecode?
What type of comments are supported by PHP.
Explain $_FILES Superglobal Array?
Why do we need session?
Tell me what are the correct and the most two common way to start and finish a php block of code?
Does php 5 support exceptions?
What is difference between rest and http?
What is the difference between query and inquiry?
Why is overriding runtime?
Write a program to show the joining of two strings in php?
Explain what are psrs? Choose 1 and briefly describe it?