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
Can we use onclick in submit button?
What is difference between static and constant in php?
Why do we use inheritance in php?
How can I load data from a text file into a table?
What are the advantages of php?
What are psrs? Choose 1 and briefly describe it?
Under what circumstance is it impossible to assign a default value to a parameter while declaring a function?
Tell me how to strip whitespace (or other characters) from the beginning and end of a string?
How to insert a line break in php string?
What does a dependant variable mean?
Define anonymous classes in php7?
Tell me how to get the value of current session id?
Does https prevent csrf?
What is the use of hooks?
How to convert a character to an ascii value?