A repository of over 1000 quality jQuery plugins

jQuery event.timeStamp

Learn all about the jQuery function event.timeStamp.

This property can be useful for profiling event performance by getting the event.timeStamp value at two points in the code and noting the difference. To simply determine the current time inside an event handler, use (new Date).getTime() instead.

Note: Due to a bug open since 2004, this value is not populated correctly in Firefox and it is not possible to know the time the event was created in that browser.