faqts : Computers : Programming : Languages : JavaScript

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

14 of 16 people (88%) answered Yes
Recently 8 of 10 people (80%) answered Yes

Entry

How Can I send a form without user interaction ??

Apr 7th, 2008 22:42
ha mo, Daniel Luong, manuel deppelkopf,


You use the body  event handler "onLoad" to submit the form 
automatically without user interaction.
Example:
<html><head><title></title></head>
<body onLoad="document.formName.submit();">
<form name="formName" method=POST action="your cgi script url ">
.... <input.....> 
</form>
</body>
</html>
http://www.businessian.com
http://www.computerstan.com
http://www.financestan.com
http://www.healthstan.com
http://www.internetstan.com
http://www.moneyenews.com
http://www.technologystan.com
http://www.zobab.com
http://www.healthinhealth.com