Originally Posted by Old Pedant
Stop it through WHAT command?
And I doubt very much that anybody has spare code sitting around that does exactly this.
But the principles are simple enough.
Do you need to use AJAX to tell the server to update the database? Or will you submit a <form> on the page to do so?
Thanks for the response. Basically I just need a timer that I can do something like stop(); and it will stop and then getFinalTime(); and put it on a string so that I can send it to my database. I dont need Ajax or help with the database part, just a timer that I can stop and get the lasted time from it.