Bulanie i chwytanie w JavaScript

// prevent bubbling effect
function DownloadAsset(AssetId, e) {

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

    // your ajax call
    $.ajax({....})
}
Vivacious Vendace