【发布时间】:2017-09-22 01:52:30
【问题描述】:
是否可以发送超过 2000 个字符的 JSON 数据? 我的 url 长度是 5260,我得到错误 GET 404()。 有没有办法以json格式发送这些数据?
update: {
url: ServiceBase + "Coating/updateTestResult",
dataType: "json",
complete: function (jqXHR, textStatus) {
if (jqXHR.status == "200") {
showNotification("Alert", "Records updated.", "upload-success");
} else {
showNotification("Error", "Couldn't update records.", "info");
}
}
}
if (operation === "update") {
$.each(dataSource._data, function () {
var row = $("#grid tbody").find("tr[data-uid='" + this.uid + "']");
if (row.hasClass("blur")) {
row.removeClass("blur");
}
this.dirty = false;
});
return { models: kendo.stringify(options.models) };
}
【问题讨论】:
标签: javascript json kendo-ui jsonp getjson