javascript - MouseMove event repeating every second -


http://jsfiddle.net/mrky9/

my computer (and far, no other computer among coworkers) exhibiting issue in chrome, ie, , safari (but not in firefox). simple mousemove code, such following (already running on fiddle above) catches mousemove events, long mouse in div, catches mousemove event every second - though i'm no longer moving mouse.

var number = 0; $("#foo").on("mousemove", function() { this.innerhtml = number++ }); 

this seems browser-based problem, since doesn't exhibit on firefox. (nor occur on windows itself. when counter going up, if leave keyboard , mouse alone, screen saver kicks in.) before concluding it's not system issue, tried replacing mouse , switching usb port it's plugged into. not surprisingly, none of solutions resolve issue.

i haven't figured out how test in other javascript in browser.

questions: has encountered before? there need catch it? have code far less trivial fiddle rely on knowing when mouse , isn't moving.

ok, found problem, though don't understand why issue.

i had task manager running in background. , reason, every time updated itself, causing ie, safari , chrome receive mousemove event.

it doesn't make sense, @ least fix simple: close task manager.

(it's obvious if in applications tab. if you're in performance, depends on values set to.)


Comments

Popular posts from this blog

javascript - DIV "hiding" when changing dropdown value -

Does Firefox offer AppleScript support to get URL of windows? -

android - How to install packaged app on Firefox for mobile? -