此错误是什么意思,请求失败:nsresult:"0x80004005(NS_ERROR_FAILURE) [英] what does this error mean Request unsuccessful: nsresult: "0x80004005 (NS_ERROR_FAILURE)
本文介绍了此错误是什么意思,请求失败:nsresult:"0x80004005(NS_ERROR_FAILURE)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试使用colorbox并避免冲突,我正在使用noConflict()方法,当我加载页面时我没有收到错误,但是当我打开colorbox窗口时看到了以下错误
I am trying to use colorbox and to avoid conflict i am using noConflict() method, When i load the page i dont get the error but when i open the colorbox window i see below error
Request unsuccessful: [Exception... "Failure" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: http://www.abc.com/assets/js/jquery-1.8.3.js :: .send :: line 8434" data: no]
下面是我用来初始化颜色框的代码
Below is the code that i am using to initialize colorbox
jQuery().ready(function(){
var $j = jQuery.noConflict();
$j(".cart_items").colorbox({width:"60%",Height:"50%",onLoad: function(){$j('#cboxClose').remove();},onComplete:function(){$j("form[name='cart']").bind("submit");}});
});
推荐答案
如果您提供的网址位于server
的外部,则存在权限问题.您不能使用XMLHttpRequest
从其他服务器访问数据.
f the url you provide is located externally to your server
, you have permission problems. You cannot access data from another server with a XMLHttpRequest
.
参考: NETWORK_ERROR:XMLHttpRequest异常101
这篇关于此错误是什么意思,请求失败:nsresult:"0x80004005(NS_ERROR_FAILURE)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文