I have the following html:
test &
to stop event propagation use :stopPropagation
$( "#test1" ).on( "click", function(ev) { ev.stopPropagation(); }); $('#test1').trigger('click');
Please note, in order events are assigned in DOM.
DEMO