Bootstrap

IE下ajax响应慢,IE9上的Jquery Ajax调用非常慢,但在IE9中非常快

我知道很多关于JS& amp; IE上的Jquery性能。然而,没有人帮助我,因此我不得不在这里提出这个问题。我对JS& amp; jQuery的。但是我遇到了问题。我的应用程序使用JS& Jquery大量渲染复杂的UI。该应用程序应该在IE(各种版本)上运行。该应用程序使用大量的ajax调用来获取数据并在UI上显示。数据通常很多DB行(1000s)...

问题是,ajax调用在IE9上运行正常但在IE8上运行速度非常慢。我找不到原因

以下是我调用ajax函数的方式

ajaxRequestSync("admin/dashboard/alertLog.action", reqData, "logtable", renderAlertText);

这是这个功能

function ajaxRequestSync(reqURL, reqData, id, completeFunction) {

alert(completeFunction);

$.ajax( {

type : "POST",

url : reqURL,

data : reqData,

dataType : "html",

async : true,

success : function(responseText) {

if(completeFunction == null) {

renderText(id, responseText);

}

else {

completeFunction(id, responseText);

}

},

error : handleAjaxError

});

}

function renderText(id, msgText) {

if (id == "logtable") {

var name = id+"Loading";

hideDivById(name);

showDivById(id);

}

//ask JQuery to clean text/html/events related to the contents of this node

cleanObject(id);

//ask JQuery to render HTML into this element

$("#" + id).html(msgText);

if(id == "alertdetail" && g_alertLinkStatus == true){

unBlockSection(id);

$(document).find('a.alert_link1').removeClass('alert_link1').addClass('alert_link');

}

}

请告诉我如何使用IE8更快地完成这项工作。任何帮助将不胜感激。

;