摘要: 想要阻止点击 #content 区域时触发a事件,需要在 #content 区域内加入阻止事件冒泡的代码,具体代码如下: #box 包括 #content ,当点击 #box 区域任何位置时(包括 #content ),都会触发a事件。想要阻止点击 #content 区域时触发a事件,需要在 #co 阅读全文