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 the difference between file_get_contents() and file_put_contents() in php?
What is the difference between require and include in php?
How can we create a database using php?
What does the array operator '===' means?
How is it possible to remove escape characters from a string?
How can we increase execution time of a php script?
Explain what are the three classes of errors that can occur in php?
How can we know the total number of elements of Array?
Explain what is the static variable in function useful for?
List some sorting functions in php?
How to download files from an external server with code in php?
How be the result set of mysql handled in php?
How many types of php frameworks are there?
What is difference between echo and print in php?
What are the advantages and disadvantages of cascade style sheets?