Return to Snippet

Revision: 9014
at October 17, 2008 06:48 by ivang


Initial Code
function cancelBubbling(e){
	if(!e) e = window.event;
	e.cancelBubble = true;
	if(e.stopPropagation) e.stopPropagation();
}

Initial URL


Initial Description


Initial Title
Javascript Cancel bubbling event

Initial Tags
event

Initial Language
JavaScript