码迷,mamicode.com
首页 > Web开发 > 详细

ajax同步禁用按钮

时间:2018-07-19 14:50:25      阅读:149      评论:0      收藏:0      [点我收藏+]

标签:btn   pre   status   enable   ror   error:   before   tst   false   

$.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同步禁用按钮

标签:btn   pre   status   enable   ror   error:   before   tst   false   

原文地址:https://www.cnblogs.com/xiaxingxing/p/9335473.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!