View Full Version : document.write --- access is denied
I want to write to a frame using document.write but get an 'access is denied' error. The target frame was generated via ASP; I do not get an error if I write to a non-ASP frame. Is there another way to change the content of this ASP frame from a script or is it simply not possible to make the changes because the ASP originates from the server?
06-07-2004, 10:57 PM
Let me guess. Does the file in the other frame reside on the other server? If so that's violation of the same-origin policy (http://www.mozilla.org/projects/security/components/same-origin.html) and as such will throw a security exception.
bingo. thanks for the help and reference. problem solved.
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.