ajax同步禁用按鈕
阿新 • • 發佈:2018-07-19
同步 trac lin ext text custom bat currency $.ajax
$.ajax({
url: ‘Ajax_JQuery_BizBatch.aspx?action=SetBiz_CurrencyStockCustomerTraceSE‘,
type: ‘POST‘,
data: data,
async: true,
cache: false,
beforeSend: function () {
$(‘#btnSelfTail‘).linkbutton(‘disable‘);
},
error: function (XMLHttpRequest, textStatus) {
$("#btnSelfTail").linkbutton(‘enable‘);
},
success: function (RetData, textStatus) {
$("#btnSelfTail").linkbutton(‘enable‘);
}
}
});
ajax同步禁用按鈕