I have the following code
$("p").on( "mousemove", function(event) { $("p").text(event.timeStamp); });
It returns a 9-digit positive value in Firefox and Edge, but in Chrome, only a six-digit decimal number. My version of chrome is 43. What is wrong here?
EDIT . I updated the version of Chrome, but still get either negative time values ββor a six-digit number. Now my version of Chrome is 48. I am using Window 10 64 bit if that matters.
EDIT 2 . When I reload my page, the value will be positive for a short period of time. After that, it becomes negative. A negative value decreases with time and finally becomes positive and continues to grow.
javascript jquery
Sanjeet singh
source share