编辑您的代码:
查看结果:
Using the HttpRequest Object
status:
status text:
response:
dim xmlhttp function loadXMLDoc(url) set xmlhttp=createObject("Microsoft.XMLHTTP") xmlhttp.onreadystatechange=getRef("state_Change") call xmlhttp.open("GET",url,true) call xmlhttp.send() end function function state_Change() if xmlhttp.readyState=4 then if xmlhttp.status=200 then alert("XML data OK") document.getElementById("A1").innerText=xmlhttp.status document.getElementById("A2").innerText=xmlhttp.statusText document.getElementById("A3").innerText=xmlhttp.responseText else alert("Problem retrieving XML data:" & xmlhttp.statusText) end if end if end function
Using the HttpRequest Object
status:
status text:
response:
查看结果:
系统帮助
|
给我留言
|
收藏本站
Copyright © 2005-2008
www.cnn84.com
All Rights Reserved Ver:2.0
CNN84网是公益性便民网站,是为了给大家的日常生活查询及提供最快捷的出行指南