Answer Posted / prantik gautam
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html lang="en">
<head>
<title>submit a form without a button</title>
</head>
<body ondblclick="document.frm_nm.submit();">
<form action="" method="post" name="frm_nm">
<input type="text" id="txt" size="25"/>
</form>
</body>
</html>
Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
How to get the IP address of the client/user in PHP?
How to send a cookie to the browser?
What is the difference between overloading and overriding in php?
Tell us how to redirect a page in php?
Tell me what does pear stands for?
What are the differences between php3 and php4 and php5? What is the current stable version of php? What advance thing in php7?
What is the meaning of "enctype= multipart/form-data" ?
Where is session id stored?
Explain the ternary conditional operator in php?
When you want to show some part of a text displayed on an html page in red font color? What different possibilities are there to do this? What are the advantages/disadvantages of these methods?
What is explode() in php?
What are the special characters you need to escape in double-quoted stings?
How do you explain independent and dependent variables?
What is put method in php?
What is the use of mysqli_real_escape_string() function?