Skip to main content

Bug Tracker

Side navigation

#6165 closed bug (worksforme)

Opened February 24, 2010 06:21PM UTC

Closed October 09, 2010 10:26PM UTC

Manually triggering mouseenter or mouseleave doesn't work if bound with live

Reported by: RomD Owned by:
Priority: undecided Milestone: 1.4.2
Component: event Version: 1.4.1
Keywords: Cc:
Blocked by: Blocking:
Description

Example: http://jsfiddle.net/tVw5C/

$('#foo').live('mouseleave', ...);

$('#foo').trigger('mouseleave'); doesn't work

$('#foo').trigger('mouseout'); triggers the mouseleave function

The example works as expected in 1.3.2 and 1.4.1

Attachments (0)
Change History (1)

Changed October 09, 2010 10:26PM UTC by addyosmani comment:1

priority: → undecided
resolution: → worksforme
status: newclosed

I've tested your originally submitted code with jQuery 1.4.2 and FireFox 3.6.10, but the output appears as expected for all above cases.

A quick note is to remember that jsFiddle works best using console output when the starting event is onLoad rather than onDomReady.

If you have further test cases you would like to send in, please feel free to submit a new ticket and we will re-investigate.