由网友(凉意彻骨)分享简介:我试图发送使用我的计算机上的HTML文件获得AJAX请求,但以下code返回我的组件返回故障code:0x80004005的关于Mozilla浏览器异常。 xmlhttp.open("GET","http://180.92.172.157/SMS-API/SMS-Push.aspx?UserName="+Usernam...![Win7系统出现错误代码0x80004005的解决方法](https://p.xsw88.cn/allimgs/daicuo/20230911/2293.png)
我试图发送使用我的计算机上的HTML文件获得AJAX请求,但以下code返回我的组件返回故障code:0x80004005的关于Mozilla浏览器异常。
xmlhttp.open("GET","http://180.92.172.157/SMS-API/SMS-Push.aspx?UserName="+Username+"&Password="+Password+"&mobile="+Mobile+"&SenderName="+SenderName,false); xmlhttp.send(); 警报(HELLO);
谁能告诉我什么是错的我在做什么?
解决方案试着读完这篇文章:的https:/ /developer.mozilla.org/En/HTTP_access_control
一个快速谷歌似乎指向一个安全功能preventing跨站点脚本。
![Win7系统出现错误代码0x80004005的解决方法](https://p.xsw88.cn/allimgs/daicuo/20230911/2293.png)
I'm trying to send "Get" AJAX request using an HTML file on my computer, but the following code returning me an "Component returned failure code: 0x80004005" exception on Mozilla browser.
xmlhttp.open("GET","http://180.92.172.157/SMS-API/SMS-Push.aspx?UserName="+Username+"&Password="+Password+"&mobile="+Mobile+"&SenderName="+SenderName,false);
xmlhttp.send();
alert("HELLO");
Could anyone please tell me what's wrong I'm doing?
解决方案Try reading through this: https://developer.mozilla.org/En/HTTP_access_control
A quick Google seems to point to a security feature preventing cross-site scripting.
相关推荐
最新文章