dandanyajin
今天更新博客了吗?
if ( event && event.stopPropagation ) {
   event.stopPropagation();
}else {
   window.event.cancelBubble = true; 
} 
   
     if ( event && event.preventDefault ) {
          event.preventDefault(); 
        }else{
          window.event.returnValue = false; 
        // return false; 
        }

 

posted on 2022-03-22 14:36  dandanyajin  阅读(38)  评论(0编辑  收藏  举报