grid.loading("保存中,请稍后......");
$.ajax({
url: "...",
data: { data: json },
type: "post",
success: function (text) {
grid.reload();
},
error: function (jqXHR, textStatus, errorThrown) {
alert(jqXHR.responseText);
}
});保存过程中提示保存中,请稍后... ,操作后消失如何实现
调试欢乐多
javascript生成二维码
XDomainRequest,IE8+跨域请求对象
$.ajax({
url: "...",
data: { data: json },
type: "post",
success: function (text) {
$("#loadtext").hide();
},
error: function (jqXHR, textStatus, errorThrown) {
alert(jqXHR.responseText);
}
});