Bug Tracker

Opened 12 years ago

Closed 12 years ago

Last modified 11 years ago

#9143 closed bug (duplicate)

Wrong behavior for "mouseenter" and "mouseleave" with "live"

Reported by: [email protected] Owned by:
Priority: high Milestone: 1.next
Component: event Version: 1.6
Keywords: Cc:
Blocked by: Blocking:


e.type returns "mouseover" when "mouseenter" fires and "mouseout" when "mouseleave" fires. See an example:

$('ul li').live('mouseenter mouseleave', function (e) {

var target = e.target ? e.target : event.srcElement;




it looks like "mouseenter" behaves like "mouseover" and "mouseleave" like "mouseout".

Change History (2)

comment:1 Changed 12 years ago by timmywil

Component: unfiledevent
Priority: undecidedhigh
Resolution: duplicate
Status: newclosed

comment:2 Changed 12 years ago by timmywil

Duplicate of #9069.

Note: See TracTickets for help on using tickets.