62,052
社区成员
发帖
与我相关
我的任务
分享
$.ajax({
url: 'consignAction.ashx',
type: 'POST',
data:{'ids':ids,'action':'del'},
dataType: 'text',
async: false,//同步
timeout: 5000,
error: function(){
alert('操作错误,请与系统管理员联系!');
},
success: function(data){
if($.trim(data) != 'true'){
alert("解除委托成功");
}
}
});
$(document).ready(function () {
$("#GetData").click(function () {
var par = { name: "admin" };
$.post("WriteJson.ashx", par, function (data) {
alert(data);
});
});
});
我本地可执行的