摘要:
想要阻止点击 #content 区域时触发a事件,需要在 #content 区域内加入阻止事件冒泡的代码,具体代码如下: #box 包括 #content ,当点击 #box 区域任何位置时(包括 #content ),都会触发a事件。想要阻止点击 #content 区域时触发a事件,需要在 #co 阅读全文
posted @ 2017-09-06 17:05
Lulin1
阅读(3514)
评论(0)
推荐(0)