brown2005 Posted December 8, 2006 Share Posted December 8, 2006 Hi, What I have is a form<form method='post' action='2.php'><input type='hidden'><input type='submit'></form>what i want is say a 20 second countdown on the form before the submit button is active...ne ideas please? Quote Link to comment Share on other sites More sharing options...
tomfmason Posted December 8, 2006 Share Posted December 8, 2006 I suggest that you do some research on the subject. Look for setTimeout and setInterval. Try google[url=http://www.google.com/search?sourceid=navclient-ff&ie=UTF-8&rls=GGGL,GGGL:2006-38,GGGL:en&q=javascript+settimeout]javascript setTimeout[/url][url=http://www.google.com/search?sourceid=navclient-ff&ie=UTF-8&rls=GGGL,GGGL:2006-38,GGGL:en&q=javascript+setinterval]javascript setInterval[/url]We will be more then happy to help when you actually have some code.Tom Quote Link to comment Share on other sites More sharing options...
fenway Posted December 9, 2006 Share Posted December 9, 2006 What you actually need is a fake button that calls a onclick hander that deal with timeouts. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.