XmlHttp.CN
XMLHTTP瀵硅薄鍙傝?/div>
XMLHTTPRequest 瀵硅薄 XMLHTTPRequest 鎴愬憳 onreadystatechange readyState responseBody responseStream responseText responseXML status statusText abort getAllResponseHeaders getResponseHeader open send setRequestHeader

statusText

杩斿洖褰撳墠璇锋眰鐨勫搷搴旇鐘舵?/p>

璇硶

strValue = oXMLHttpRequest.statusText;

Example

var xmlhttp = new ActiveXObject("Msxml2.XMLHTTP.3.0");
xmlhttp.open("GET", "http://localhost/books.xml", false);
xmlhttp.send();
alert(xmlhttp.statusText);

澶囨敞

瀛楃涓诧紝姝ゅ睘鎬у彧璇伙紝浠STR杩斿洖褰撳墠璇锋眰鐨勫搷搴旇鐘舵?姝ゅ睘鎬т粎褰撴暟鎹彂閫佸苟鎺ユ敹瀹屾瘯鍚庢墠鍙幏鍙栥?

鍙傝?/h2>

status 灞炴?/a>
send 鏂规硶