Javascript函数因IE9而失败

时间:2014-05-07 12:57:53

标签: javascript jquery asp.net

下面的函数绑定到按钮的onclick处理程序,所有浏览器都在运行,但没有使用Internet Explorer 9.在任务栏上显示消息的空白窗口:"正在下载数据http://0.0.0.0/..& #34 ;. 这是截图:

enter image description here

 function publishAd(i){
    $('.publishad .form .put input').hide();
    $('.publishad .form .put img').show();
    var mysarr = {};
    PopAjaxPost('ilan/publishad/' + i, mysarr, function (data) {
        if (data.Durum == '1') {
            ibFunc.openBoxOpen("/ilan/popup/publish/" + i);
            $('.publishad .form .put input').show();
            $('.publishad .form .put img').hide();
        }
        else {
            $('.publishad .form .put input').show();
            $('.publishad .form .put img').hide();
        }
    });
}

PopAjaxPost功能:

function PopAjaxPost(a, c, e) { $("span.popupbilgilendirme").show(); 
$("img.loodingimg").show();
$("span.popupbilgilendirme").html(""); 
$.post(AjaxDomain() + a, c, e, "json").error(function () {$("span.popupbilgilendirme").show();    
$("span.popupbilgilendirme").css("color", "red");
$("span.popupbilgilendirme").html("Bir hata oldu...") }).complete(function () {  
$("img.loodingimg").hide(); $("span.formguncelleme").fadeOut(5E3) }) 
}

可能的原因是什么?

0 个答案:

没有答案