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 php session_start() and session_destroy() function?
How can we access the data sent through the url with the get method?
Is time a dependent variable?
Is python better than php?
Tell me what is the difference between exception::getmessage and exception::getline?
What are the difference between array_keys() and array_key_exists() in php?
What is multidimensional array in php?
What is php trait?
Can you use php and javascript together?
How to remove html tags from data in php?
What is cookie and session in php?
In php how can you jump in to and out of "php mode"?
Tell me what are the encryption techniques in php?
What is properties of class?
What is the difference between php and core php?