📌  相关文章
📜  event.propagation 不起作用 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:48.787000             🧑  作者: Mango

代码示例1
//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({....})
}