event.stopPropagation()The event.stopPropagation method in jQuery will return whether event.stopPropagation() was ever called on this event object.
event.stopPropagation() property Examplewhether event.stopPropagation() was called.
$("button").click(function( event ) {
console.log( event.isPropagationStopped() ); // false
event.stopPropagation();
console.log( event.isPropagationStopped() ); // true
});
