document.location - access denied message in IE when using document.location
Not sure if this will help, but you might try leaving out the document part, and just call
parent.framename.location
I'm not sure, but I heard document.location was not going to be supported much longer in favor of using window.location or location.href.
Hope this helps,
----------
Page Resource: http://www.pageresource.com
JavaScript City: http://www.javascriptcity.com
tazman posted this at 23:00 — 12th August 1999.
They have: 99 posts
Joined: May 1999
I have a page using fairly involved framesets. I am updating a frames content using parent.framename.document.location= method. I am encountering an error in IE which states Access is Denied Code: 0 (in the form of an IE pop-up Internet Explorer Script Error Box. If I do a direct load to the frame (by clicking on a link in another frame and specifying the target) It loads fine. I can then use the parent.document.location method again! Netscape has no problems. I am befuddled by this one and any help would be greatly appreciated.
Thanks!
----------
Alan Izat
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.