I have a tree of divs:
2条回答 没有蜡笔的小新 (楼主) 2020-11-22 07:37 use event.stopPropagation() Stops the bubbling of an event to parent elements, preventing any parent handlers from being notified of the event. when click on b and c 0 讨论(0) 查看其它2个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复 热议问题
use
event.stopPropagation()
Stops the bubbling of an event to parent elements, preventing any parent handlers from being notified of the event.
when click on b and c