Answers for "e.stopPropagation() is not working as expected"

0

e.stopPropagation() is not working as expected

// this works like charm
function DownloadAsset(AssetId, e) {

    if (!e) var e = window.event
    e.cancelBubble = true;
    if (e.stopPropagation) e.stopPropagation();

    // your ajax call
    $.ajax({....})
}
Posted by: Guest on September-23-2021

Code answers related to "e.stopPropagation() is not working as expected"

Code answers related to "Javascript"

Browse Popular Code Answers by Language