responseBody
返回某一格式的服务器响应数据
语法
strValue = oXMLHttpRequest.responseBody;
Example
var xmlhttp = new ActiveXObject("Msxml2.XMLHTTP.3.0");
xmlhttp.open("GET", "http://www.ajaxstu.com/books.xml", false);
xmlhttp.send();
alert(xmlhttp.responseBody);
备注
变量,此属性只读,以unsigned array格式表示直接从服务器返回的未经解码的二进制数据。
参考
responseStream 属性
responseText 属性
xmlhttp:responsebody属性
原创文章如转载,请注明:转载自悠悠博客 [ http://www.ajaxstu.com/ ]
相关文章:
- xmlhttp:onreadystatechange属性(2006-9-16 8:13:39)
- XMLHttpRequest对象(2006-2-24 4:49:19)
- xmlhttp:readyState属性(2006-1-8 3:54:36)
◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。
