阻止冒泡函数
function stopBubble(e) {
if(e & e.stopPropagation()) {
e.stopPropagation()
}else { // IE
window.event.cancelBubble = true
}
}
标签:阻止冒泡 can amp opp window body 冒泡 函数 on()
阻止冒泡函数
function stopBubble(e) {
if(e & e.stopPropagation()) {
e.stopPropagation()
}else { // IE
window.event.cancelBubble = true
}
}
标签:阻止冒泡 can amp opp window body 冒泡 函数 on()
原文地址:https://www.cnblogs.com/liangshuang/p/8473945.html