Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: getting location.content of an external link from a child frame


Message #1 by "Eric Fehrenbacher" <ericf@m...> on Thu, 26 Apr 2001 07:27:16
Your problem is that the Javascript security model does not allow you 
to interrogate information about pages from external servers in this 
way.

> -----Original Message-----
> From: ericf@m... [mailto:ericf@m...]
> Sent: 26 April 2001 07:27
> To: javascript@p...
> Subject: [javascript] getting location.content of an external 
> link from
> a child frame
> 
> 
> I have a multi-frame environment I am developing for work to 
> use as a tool 
> to keep debug, reference, and the pages I am viewing all 
> accessible in one 
> window. I am using pseudo classes and methods to engage all 
> my commands 
> from each different frame.
> In my reference frame I want to load external URLs. After a 
> URL is loaded 
> into that frame (via a link or some other method) I want to 
> display that 
> URL in another frames text box. I also want to use the URL to 
> reload that 
> page in the same frame, essentially refreshing the frame.
> Is there a way to do this ??
> Using location.content continues to give me errors... with which in 
> different combinations I have received the following errors.
> 1. Permission denied
> 2. Access denied
> 
> Is there not a way to get the current URL residing in a child 
> frame which 
> is housing an external link ??
> gregory_griffiths@c...
> $subst('Email.Unsub')
> 
> 


  Return to Index