Add this to your body tag:

onLoad="document.forms[0].submit();"

.. if your form tag has a name="" value, then you can replace the 
forms[0] with the name of the form.

HTH
Hatton

Stephenie Hamilton wrote:

>How can I have a form on a page auto submit when the page loads with JS?
>I left my JS book at home and hope this is something someone will know
>off the top of their head.
>
>~~
>Stephenie Hamilton
>Macromedia Certified ColdFusion Professional
>CFXHosting
>
>
>
>
>---
>Outgoing mail is certified Virus Free.
>Checked by AVG anti-virus system (http://www.grisoft.com).
>Version: 6.0.394 / Virus Database: 224 - Release Date: 10/3/2002
> 
>
>
______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Archives: http://www.mail-archive.com/cf-community@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to