标签:io sp cti on c amp r bs window
//阻止冒泡事件
function stopBubble(e) {
if (e && e.stopPropagation) {//非IE
e.stopPropagation(); }
else {//IE
window.event.cancelBubble = true;
}
JS 阻止冒泡的方式
原文地址:http://www.cnblogs.com/apple927/p/3981494.html