87,910
社区成员
发帖
与我相关
我的任务
分享
grid.loading("保存中,请稍后......");
$.ajax({
url: "...",
data: { data: json },
type: "post",
success: function (text) {
grid.reload();
},
error: function (jqXHR, textStatus, errorThrown) {
alert(jqXHR.responseText);
}
});
$("#loadtext").show().text("保存中,请稍后......");
$.ajax({
url: "...",
data: { data: json },
type: "post",
success: function (text) {
$("#loadtext").hide();
},
error: function (jqXHR, textStatus, errorThrown) {
alert(jqXHR.responseText);
}
});