开发者

Component returned failure code: 0x80004005

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.

开发者_如何学Pythonxmlhttp.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.


It is cross browser issue. Remove http or https and try it will work

You can check this link

http://tharindumathew.com/2012/05/16/xml-parsing-error-in-firebug/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜