jquery 如何给新生成的元素绑定 hover事件?
$("table tr").live({ mouseenter: function() { //todo }, mouseleave: function() { //todo }});$('ul li').live('mouseenter',function(){
$('#tips').show();
}).live('mouseleave',function(){
$('#tips').hide();
});
浙公网安备 33010602011771号