Skip to main content

Bug Tracker

Side navigation

#1462 closed bug (worksforme)

Opened August 03, 2007 03:10PM UTC

Closed December 11, 2007 03:55AM UTC

Last modified March 15, 2012 05:06PM UTC

$(document).mousemove does not work in IE

Reported by: fromvega Owned by:
Priority: major Milestone: 1.2.2
Component: event Version: 1.1.3
Keywords: mouse move mousemove Cc:
Blocked by: Blocking:
Description

The following code works fine both in Firefox and in IE7:

document.onmousemove = function(){

alert("Moved!");

};

But using jQuery it just work in Firefox:

$(document).mousemove(function(){

alert("Moved!");

});

Attachments (0)
Change History (2)

Changed September 27, 2007 06:20PM UTC by brandon comment:1

milestone: 1.1.41.2.2

Are there other events that require DOM0 event handling to work cross-browser. Perhaps we could check against an array of these event types and use DOM0 if a match is found. Would we try to avoid clobbering existing DOM0 handlers of the same type?

Changed December 11, 2007 03:55AM UTC by brandon comment:2

resolution: → worksforme
status: newclosed

This seems to be working just fine.