摘要:
原文链接:一次Ajax查错的经历functionInitAjax(){ varajax=false; try{ ajax=newActiveXObject("Msxml2.XMLHTTP"); }catch(e){try{ajax=newActiveXObject("Microsoft.XMLHTTP");}catch(E){ajax=false;}}if(!ajax&&typeofXMLHttpRequest!='undefined'){ajax=newXMLHttpRequest();}returnajax;}vara 阅读全文