Link to home
Start Free TrialLog in
Avatar of tn22
tn22

asked on

How do I get a form to submit after 5 minutes?

Hi,

I have a form on a webpage that I'd like to have automatically submit after 5 minutes. What I know of javascript is pretty basic.  If someone could give me some pointers on how to get this done, I'd appreciate it.

Thank you in advance,
T
Avatar of SalmanZG
SalmanZG

<form name="myForm">
</form>

<script language="JavaScript"><!--

setTimeout('document.myForm.submit()',300000);
//--></script>

Ref:
http://www.irt.org/script/956.htm
ASKER CERTIFIED SOLUTION
Avatar of janjerell
janjerell

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of tn22

ASKER

Thank you!!