admin管理员组文章数量:1332404
I am trying to make use of a script that uses CPAINT and I keep getting the error above when I click on favourite an item (a 5 star rating system).
It looks like it is making an AJAX request but I can not see this from my Firebug to debug this - why is this the case?
More importantly what does the error code 0 mean?
Thank you all for any help
I am trying to make use of a script that uses CPAINT and I keep getting the error above when I click on favourite an item (a 5 star rating system).
It looks like it is making an AJAX request but I can not see this from my Firebug to debug this - why is this the case?
More importantly what does the error code 0 mean?
Thank you all for any help
Share Improve this question edited Jun 16, 2010 at 21:41 Daniel Vassallo 345k72 gold badges512 silver badges446 bronze badges asked Jun 16, 2010 at 20:32 AbsAbs 58k103 gold badges282 silver badges417 bronze badges1 Answer
Reset to default 5A response code of 0 from XMLHttpRequest can mean that you are being blocked by the same origin policy. Make sure that you are using relative URLs for your AJAX requests.
You may also want to check out the following Stack Overflow post for one possible solution to workaround the same origin policy:
- XMLHTTPRequest.status returns 0 and responseText is blank in FireFox 3.5
本文标签: javascriptinvalid HTTP response code 0’Stack Overflow
版权声明:本文标题:javascript - invalid HTTP response code ‘0’ - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742277465a2445464.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论