阻止js事件冒泡

 

	 e = e || window.event;
	 //阻止冒泡
	 if (isIE){
		 e.cancelBubble = true;
	 }else{
		 e.stopPropagation();
	 }

 

posted @ 2010-07-13 13:28  雪霁霜飞  阅读(162)  评论(0编辑  收藏  举报