Share it

Bookmark and Share

Translate

Tuesday, September 20, 2011

0 Submit form automatically

This script submits the form automatically after 5 seconds
<html>
<head>
<SCRIPT LANGUAGE="JavaScript"><!--
setTimeout('document.test.submit()',5000);
//--></SCRIPT>

</head>

<body>
<form name="test" id="form1" method="post" action="http://www.php.net/search.php">
<p>
<input name="pattern" type="text" id="pattern" />
<input name="show" type="hidden" id="show" value="quickref" />
</p>
<p><input type="submit" name="next" value="Next" />
&nbsp; </p>
</form>
</body>
</html>


0 comments:

Post a Comment

Thanks for your valuable Comment

 

TechnoTipworld- Tips,Tricks,Technology Copyright © 2011 - |- Template created by O Pregador - |- Powered by Blogger Templates