View Single Post
  #7 (permalink)  
Old May 17th, 2006, 05:00 AM
thuffam thuffam is offline
Registered User
Join Date: May 2006
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts

I've had a similar problem occur - however it is not consistent...

Originally I had some structured JS code that worked fine (loading xml docs from localhost and from external sites).

Then I updated most of the code to be more OO - except the xml loading code. And now it only loads xml files on localhost. When attempting to load anything external and I get an "Access is denied" error.

Any ideas why?

All the code that does the load and retrieval of values from the xml files has not changed - and it works when calling it from very basic structured JS - eg poplist() (where poplist is a function that does the load and populates a list with the data in the xml file).

However when I call it from my new objects it can load local xml files - just not external ones.

Any help will be very much appreciated!
Thanks in advance
Tim Huffam

Reply With Quote