How do I end an onClick event?
This code calls my function and everything works almost perfectly. Perfectly, except if I try to put an alert in to inform the user when the countdown reaches zero, it keeps popping up I haven't been able to find how to turn off the function once it is called.
<input name="startcount" type="button" onClick="setInterval('counterMod()',1000)" value="Start Countdown">
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)