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
How to block direct directory access in PHP?
What are new features in php 7?
Who is the father of php?
What type of language is php?
What is strcmp () in php?
How to assigning a new character in a string using php?
Tell me what is the use of isset() in php?
What is the difference between characters 34 and x34?
What is the difference between abstract class and interface in php?
How does cookies work in php?
What is php array function?
How do I stop a php script?
Explain which cryptographic extension provide generation and verification of digital signatures?
The left association operator % is used in PHP for?
Explain the syntax for ‘foreach’ loop with example.