jameszhang
CJSDN高级会员
发贴: 1594
|
于 2008-10-26 08:41
    
function createXMLHttpRequest() { if(window.ActiveXObject) { try { xmlHttpRequest = new ActiveXObject("Msxml3.XMLHTTP"); } catch (e) { try { xmlHttpRequest = new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) { try { xmlHttpRequest = new ActiveXObject("Microsoft.XMLHTTP"); } catch (e) {}}} }else if(window.XMLHttpRequest) { xmlHttpRequest=new XMLHttpRequest(); if (xmlHttpRequest.overrideMimeType) xmlHttpRequest.overrideMimeType('text/xml'); } }
阿熊 edited on 2008-10-26 13:06
"First they ignore u, then they laugh at u, then they fight u, then u will win
Mahatma Gandhi"
|