Search code examples
jquerycolorbox

what does this error mean Request unsuccessful: nsresult: "0x80004005 (NS_ERROR_FAILURE)


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");}});
  });

Solution

  • 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.

    Refer :NETWORK_ERROR: XMLHttpRequest Exception 101