翻了好久百度终于发现了标准答案,反正我是解决了 js使用append后js事件失效
问题 但至于为什么要这样我暂时还不知道 嘻嘻~~~希望对你们有帮助
$("body").on('mouseover','.trAlert',function(){
$(this).find("i").addClass('icon-hand-right');
}).on('mouseout','.trAlert',function(){
//移除
$(this).find("i").removeClass('icon-hand-right');
});