Return to Snippet

Revision: 17765
at September 14, 2009 05:17 by gfazioli


Initial Code
$('a#mylink').click(
	function(event) {
		document.location = event.target.href;
		event.stopPropagation();
		event.preventDefault();
	}
);

Initial URL
http://www.undolog.com/2009/08/21/impedire-la-propagazione-degli-eventi-con-jquery/

Initial Description
see http://www.undolog.com/2009/08/21/impedire-la-propagazione-degli-eventi-con-jquery/ for detail

Initial Title
Stop Event Propagations

Initial Tags
event, jquery

Initial Language
jQuery