How to fix the 0x80040111 (NS_ERROR_NOT_AVAILABLE) error

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • jonathan.chauncey@gmail.com

    #1

    How to fix the 0x80040111 (NS_ERROR_NOT_AVAILABLE) error

    Ok for several days now I have been trying to fix this problem with
    absolutely no luck. However, after I found this post:



    and implementing the setTimeout() call to my LoadContent function it
    has solve me problems. My function looks like this:

    function LoadContent(req Var,loaderId,di vId,url) {
    if(reqVar==null )
    {
    reqVar = newXMLHttpReque st();
    }
    if(reqVar==null )
    {
    GetContentFromU RL(loaderId,div Id,url);
    return;
    }
    if (divId != null && typeof divId != 'undefined')
    {
    reqVar.onreadys tatechange = function()
    {
    DrawResponse(re qVar,divId);
    }
    }
    reqVar.open("GE T", url, true);
    reqVar.send("") ;
    }

    and the fix looks like this: setTimeout("Loa dContent("+null +",
    'contentLoader' , 'viewMode', '"+url+"')", 0)

Working...