Opened 10 years ago
Closed 10 years ago
#12629 closed bug (worksforme)
"on" not working on html class with Firefox 15.0.1, IE8, IE9
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.8.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
This trigger works with jQuery 1.8.0, but non with 1.8.1 and 1.8.2.
$('.page').on({
mouseenter : function () {
$(this).addClass('hover');
}, mouseleave : function () {
$(this).removeClass('hover');
}
}, '.item');
Greetings!
Note: See
TracTickets for help on using
tickets.
http://jsfiddle.net/zgpgX/1/
Tested on Firefox 15.0.1 and IE9.