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
Write the statements that are used to connect php with mysql
Describe the security vulnerability of PHP?
What is __ invoke in php?
What are the three classes of errors that can occur in php?
Is php a middleware?
What is php in simple words?
What language is similar to php?
Why session timeout is important?
How is it possible to parse a configuration file?
Is salary fixed or variable cost?
Which is better php or wordpress?
Is php 5.6 secure?
How you can update memcached when you make changes to php?
Which is used to maintain the value of a variable over different pages?
What is faster?