jquery 添加的元素点击事件无效

无效代码

$(".list").click(function(e){});

解决方法

 $(document).on('click','.list',function(){});

猜你喜欢

转载自blog.csdn.net/weixin_38570967/article/details/80608978
今日推荐