//阻止冒泡事件  

 function stopBubble(e) {  

  if (e && e.stopPropagation) {//非IE  

 e.stopPropagation();    }  

     else {//IE  

         window.event.cancelBubble = true;  

     }  

 }  

posted on 2014-09-19 15:08  WEB stay  阅读(220)  评论(0编辑  收藏  举报