I am building an AJAX page that when the user clicks a box, it sends an ajax request and returns a result. This is a very simple game. The users repeatedly click the box, and I need to record how much time has elapsed between each click with a precision of milliseconds. So with my request actually, I will be sending the elapsed time since the last request and storing it in a database or session.
Javascript does have a timer that is precise in ms, right? So does jQuery make this task of keeping a time between clicks easy?