How can we submit a form without a submit button?
Answer Posted / saiprasad
<script type="text/javascript">
function submitform()
{
document.forms["myform"].submit();
}
</script>
<form id="myform" action="submit-form.php">
Search: <input type='text' name='query'>
<a href="javascript: submitform()">Submit</a>
</form>
Is This Answer Correct ? | 12 Yes | 5 No |
Post New Answer View All Answers
How to check an key is exists in array?
Why use php artisan serve?
A process can run only in the background. State Whether True or False?
How to convert a json string to an array in php?
How to read a file in php?
What is a php array?
What is rtrim php?
How do I install php?
What is delimiter php?
What is the difference between characters 34 and x34?
Why session timeout is important?
What are the difference between overloading and overriding in oops?
Why do we need abstract class in php?
armstrong number by using php while number is given by the keyboard.?
How would you declare a function that receives one parameter name hello?