Jquery Event not working after Ajax Pagination
问题 Below is the code i am working with, i have been using .mouseenter(function () { with no problems... I have been reading that when you use .live() it applies the events to existing & new dom elements but for some reason now the function isnt working at all, is there something wrong with my syntax? $(document).ready(function(){ $("div#rows div.row div:nth-child(1)",this).nextUntil('nth-child(2)').on("mouseenter", function() { $('img',this).stop().animate({"bottom":"0px"}, "fast"); }); $('div'