我在网页里用xml.http下载文件失败该怎么办?
<html>
<body>
<script language="JavaScript">
function SetDatee()
{
var a=new ActiveXObject("Microsoft.XMLHTTP");
a.open("GET","http://www.163.com",false);
这个文件在电脑上运行是可以的,放到web服务器上运行就出错了
到这里就停在这里了...
a.send();
var b=a.responseText;
alert(b);
}
SetDatee();
</script>
</body>
</html>