Opened 13 years ago
Closed 12 years ago
#6165 closed bug (worksforme)
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
Change History (1)
comment:1 Changed 12 years ago by
Priority: | → undecided |
---|---|
Resolution: | → worksforme |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
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.