JS 2 minute countdown then execute a function?
- by Cyprus106
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!