Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/ajax/6.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
IE中的ajax调用使页面速度越来越慢_Ajax_Json_Internet Explorer - Fatal编程技术网

IE中的ajax调用使页面速度越来越慢

IE中的ajax调用使页面速度越来越慢,ajax,json,internet-explorer,Ajax,Json,Internet Explorer,我用一些ajaxcalls构建了一个应用程序,问题是当页面处于例如1的活动状态时,页面在IE 9、10和11中变得越来越慢。所有其他浏览器都可以 data = get_xml('/".AREA."/index.php?ajax=ajaxStatusses&location=index'); data = JSON.parse(data); var xmlhttp; if (window.XMLHttpRequest){ // code for IE7+, Firefox, Ch

我用一些ajaxcalls构建了一个应用程序,问题是当页面处于例如1的活动状态时,页面在IE 9、10和11中变得越来越慢。所有其他浏览器都可以

data = get_xml('/".AREA."/index.php?ajax=ajaxStatusses&location=index');
data = JSON.parse(data);

var xmlhttp;
if (window.XMLHttpRequest){
    // code for IE7+, Firefox, Chrome, Opera, Safari
    xmlhttp=new XMLHttpRequest();
}else{
    // code for IE6, IE5
    xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
}
xmlhttp.open("GET", url, false);
xmlhttp.send(null);

if (xmlhttp && xmlhttp.responseText){
    return xmlhttp.responseText;
}else{
    return '';
}

您是否在开发人员工具中进行过分析?内存和脚本?如果是这样的话,你能看到调用了什么函数或内存泄漏吗?@ChrisLove,也许是个愚蠢的问题,但我怎么能看到是否有泄漏?