Situation:
+ OPEN 3条回答 天涯浪人 (楼主) 2021-01-01 09:41 You need to stop the event from propagating up the DOM tree: $('.closeBtn').click(function (evt) { evt.stopPropagation(); // Your code here }); 0 讨论(0) 查看其它3个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复
You need to stop the event from propagating up the DOM tree:
$('.closeBtn').click(function (evt) { evt.stopPropagation(); // Your code here });