jQuery 1 minute countdown with milliseconds and callback

Posted by Josh on Stack Overflow See other posts from Stack Overflow or by Josh
Published on 2010-06-11T03:45:06Z Indexed on 2010/06/11 3:52 UTC
Read the original article Hit count: 858

Filed under:
|
|

I'm trying to figure out a way to display a simple countdown that displays 1:00:00 whereby 1 = minutes, 00 = seconds, and 00 = milliseconds.

I've found loads of jQuery countdowns on the interwebs, but none of the contain the ability to display milliseconds natively, and I really don't want to dig through thousands of lines of code to try and find a way to hack it in there myself.

Is this something that would be pretty easy to whip up?

I'm also hoping to have the ability to add a callback to the end of the countdown (0:00:00) so that when it finishes, I can run another function.

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about milliseconds