Matt Posted August 6, 2006 Share Posted August 6, 2006 I have a form... and I need to create a piece of Javascript that counts down from three minutes and submits the form.Any ideas?Thanks for any help you guys give,Matt Link to comment Share on other sites More sharing options...
Chocolate570 Posted August 6, 2006 Share Posted August 6, 2006 Hi! To do this, you just need a simple timeout statement. Here's a sample, if your form name is "fname". <script type="text/javascript">var timer=setTimeout("document.fname.submit",300000);</script> Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now