How to stop events bubbling in jQuery? [duplicate]

According to jQuery’s documentation:

$('myclass').bind('amodaldestroy'), function(event) {
    ....does something....
    event.stopPropagation();
});

Leave a Comment