"A. Jamie Cuticchia" wrote:
I have a webpage with 2 frames. Each frame accesses a different URL.
When I try to run a javascript from Frame 1 to access content in Frame
2, I get a forbidden error.
Is there a solution to this?
If both URLs are from the same domain, but different hosts, you could use
document.domain to set them the same so cross-domain scripting security
won't interfere. If they are from totally different domains, you are out
of luck, JavaScript in one frame will not be able to access content in
another.
--
Grant Wagner <gw*****@agricoreunited.com>
comp.lang.javascript FAQ -
http://jibbering.com/faq