•How can we submit a form without a submit button

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


Please Help Members By Posting Answers For Below Questions

How to get the IP address of the client/user in PHP?

497


How to send a cookie to the browser?

517


What is the difference between overloading and overriding in php?

512


Tell us how to redirect a page in php?

517


Tell me what does pear stands for?

531






What are the differences between php3 and php4 and php5? What is the current stable version of php? What advance thing in php7?

598


What is the meaning of "enctype= multipart/form-data" ?

510


Where is session id stored?

499


Explain the ternary conditional operator in php?

582


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?

491


What is explode() in php?

521


What are the special characters you need to escape in double-quoted stings?

520


How do you explain independent and dependent variables?

473


What is put method in php?

511


What is the use of mysqli_real_escape_string() function?

501