How to create a JQuery Clock / Timer
Posted
by Ganesh Shankar
on Stack Overflow
See other posts from Stack Overflow
or by Ganesh Shankar
Published on 2010-04-09T00:54:06Z
Indexed on
2010/04/09
1:03 UTC
Read the original article
Hit count: 968
I have a simple quiz application and I want display a nice timer / clock at the top of the page which shows the user how long they've been going for. (If I could somehow show them a timer for Total Quiz Time and also a second one for This Question Time that would be even cooler but I should be able to figure out how to do myself that once I've got one timer working.
My question is:
What's a nice, easy way to show a simple timer / clock using JQuery? (straight JS is also ok) I know how to check time, but how do I get incrementing seconds?
My own searches keep leading me to JQuery plugins (I want to roll my own) and also "event timers" which are not what I'm looking for...
© Stack Overflow or respective owner