WeCodeThings Library
Library of code bits
Glossary    Contact Us
Need a web designer? visit WeCodeThings.Com for more details
Search  
   
Browse by Category

WeCodeThings Library .: HTML .: HTML Submit Form Body Onload Form1 HTML Automatically



HTML Submit Form Body Onload Form1 HTML Automatically

If you need a quick way to submit a html form when the page loads, use this easy piece of code to do it. It submits the form with body onload.

  1. <body onLoad="document.form1.submit();">
  2. <FORM method="post" name="login" action="https://www.website.cfm">
  3. <INPUT type="hidden" name="Username" value=" " />
  4. <INPUT type="hidden" name="Password" value=" " />
  5. <INPUT type="hidden" value="Login" />
  6. </FORM>


How helpful was this article to you?

Related Articles

article PHP ColdFusion Isset Isdefined Submit Form Know when a Form has Submitted using IF
When processing a form, you need to know...

(No rating)  5-8-2009    Views: 1922   

User Comments

Add Comment
No comments have been posted.




.: Powered by Lore .:Code by WeCodeThings Website Design and Development