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
Inside a php function, what param needs to be set in order to access a global variable?
Tell me what is htaccess?
Is php an oop?
Explain the difference between require() and require_once()?
What is the difference between array_map () and array_shift ()?
How is it possible to parse a configuration file?
How can we check the value of a given variable is a number?
What is php session_start() and session_destroy() function?
Is it difficult to learn php?
What are some of the advanced features of php?
What is the difference between pop3 IMAP and MAPI?
How do you execute a php script from the command line?
What is php stack?
What is the use of post in php?
What is the use of mvc in php?