大きなjsonリストを取得するajax呼び出しがあります。json ロードの実際の値を取得するプログレス バーを作成する方法はありますか (たとえば、200 のうち 1 がロードされていることを示すステータス バー)。
今、私はかなり基本的な Ajax 呼び出しを持っています
function SendAjax(urlMethod, jsonData, returnFunction) {
$.ajax({
type: "GET",
contentType: "application/json; charset=utf-8",
url: urlMethod,
data: jsonData,
dataType: "json",
success: function (msg) {
if (msg != null) {
ReturnJson(msg);
}
},
error: function (xhr, status, error) {
// Boil the ASP.NET AJAX error down to JSON.
var err = eval("(" + xhr.responseText + ")");
// Display the specific error raised by the server
alert(err.Message);
}
});
}