I have a function that works with jQuery 1.8.3 but when I upgrade to 1.9.1 it's not working anymore, but there's no change in documentation. Does somebody know how to fix this?
$(document).on("hover", "#cart-left", function(){ $("#cart").addClass('active'); });
http://jsfiddle.net/michalcerny/R9HZp/
Thanks for support!
In 1.9.1 you should use mouseover
mouseover
$(document).on("mouseover", "#cart-left", function(){ $("#cart").addClass('active'); });
1.4m articles
1.4m replys
5 comments
57.0k users