« vbscript中用正则表达式时获得匹配字符串网页色系表 »

xmlhttp:responsebody属性

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 属性
原创文章如转载,请注明:转载自悠悠博客 [ http://www.ajaxstu.com/ ]

相关文章:

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。