Jump to content
xisto Community
Sign in to follow this  
eiteljoh

Refreshing Frame From Page

Recommended Posts

Hello. I have an HTML frameset, with, lets say 2 frames. Frame A and Frame B. The user goes and navigates around, then makes an update within frame B, which in turn requires a refresh of frame A. Does anyone know how to do this? Prefereably I would like to do it in HTML, then if not possible, in JavaScript, then if not possible Perl.But I have a feeling it's doable in JS, but can't work out exactly the heirarchy for the page within a frame. Any ideas?? Thanks.

Share this post


Link to post
Share on other sites

"then makes an update within frame B"

 

I'm not sure what's the meaning of this. I suppose it may be page reload or text change. Anyway, you need define a event processor for it.

 

In the event processor, use top.frame[0] to reference frame A to load another page.

 

But there are a limitation, the page in frame A and frame B should be from the same domain. The security in IE forbid access between frames from different domain.

 

If so, you need reload the whole window. The server return a new frame set and frames. From the user view, there is no much difference to the previous solution.

 

 

Hello.  I have an HTML frameset, with, lets say 2 frames.  Frame  A and Frame B.  The user goes and navigates around, then makes an update within frame B, which in turn requires a refresh of frame A.  Does anyone know how to do this?  Prefereably I would like to do it in HTML, then if not possible, in JavaScript, then if not possible Perl.

 

But I have a feeling it's doable in JS, but can't work out exactly the heirarchy for the page within a frame.  Any ideas??  Thanks.

44991[/snapback]

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.