Forum Moderators: open

Message Too Old, No Replies

Simulate Form submit

Simulate Form submit

         

smitko

8:53 am on Feb 23, 2004 (gmt 0)

10+ Year Member



Hi,

I have a form with a submit botton on it, but I want to autosubmit the form with javascript.The page must still exiqute, but must not stop on the form.

ajkimoto

3:52 am on Feb 25, 2004 (gmt 0)

10+ Year Member



Smitko,

If I understand the question correctly, you want a script that will submit a form as soon as the page loads?

How about this in the body tag:

<body onload="document.forms[0].submit()">

ajkimoto