JS 2 minute countdown then execute a function?

Posted by Cyprus106 on Stack Overflow See other posts from Stack Overflow or by Cyprus106
Published on 2010-03-02T05:12:53Z Indexed on 2010/03/19 20:11 UTC
Read the original article Hit count: 241

Filed under:
|
|
|

I'm not that great at Javascript, for the record! I DO know how to use ajax. I just need a bit of help.

I'm having a hard time figuring out how to display a 5 minute countdown, and once the countdown hits zero, to run a function. I need to pass a variable to the function that needs to run. I tried SetInterval but this isn't exactly my strong suit. Does anyone have any suggestions? I can post the code I've got, but I would equate it to a gorilla fumbling in the dark at a typewriter!

© Stack Overflow or respective owner

Related posts about timers

Related posts about js