View Full Version : UpdateManager update problem in FF

25 Apr 2007, 1:30 PM
I'm trying this:

var div = Ext.get('myDiv');
var manager = div.getUpdateManager();
url: "http://someurl/",
nocache: true

In IE 6.0 it's working just fine. In FF2 I got this:

Error: [Exception... "'Permission denied to call method XMLHttpRequest.open' when calling method: [nsIDOMEventListener::handleEvent]" nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "<unknown>" data: no]

I'm trying this with YUI-utilities.

25 Apr 2007, 2:24 PM
are you sure you are loading the "update code" from the same domain as the web application?

26 Apr 2007, 12:39 AM
I'm sure I'm not :)
That's the problem.
Thanks a lot.

24 May 2007, 11:33 PM
I have the same problem but I could not understand your solution. Please post it, thank you.

24 May 2007, 11:37 PM
umut, Ajax 101:

You cannot load from any old domain you like. You can only load from the domain that the page originated from.

25 May 2007, 12:01 AM
ok I found the problem. Very stupid really:"> I changed the localhost in my js script to my computer's ip. Working now.