467,915 Members | 1,777 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,915 developers. It's quick & easy.

refresh frame by reload()

Hi all,
I am a new comer, and also a beginner for web page making.

I am making a page with 2 frame, a button was added on the left-side
frame( called frame1 ) to reload the page on the right-side frame (
called frame2 ) by this statment "parent.frame2.location.reload();".
The reload action always success if the right frame's page on the
local server, but not for the pages on other servers. and it shows
error on the status bar of browser too.

am I using the wrong methods or forget to set something inside the
javascript before reloading frame2.

thank you very much for your attention.
Jul 20 '05 #1
  • viewed: 14294
Share:
1 Reply
Martin Honnen <Ma***********@t-online.de> wrote in message news:<3F**************@t-online.de>...
WL Yang wrote:
Hi all,
I am a new comer, and also a beginner for web page making.

I am making a page with 2 frame, a button was added on the left-side
frame( called frame1 ) to reload the page on the right-side frame (
called frame2 ) by this statment "parent.frame2.location.reload();".
The reload action always success if the right frame's page on the
local server, but not for the pages on other servers. and it shows
error on the status bar of browser too.

am I using the wrong methods or forget to set something inside the
javascript before reloading frame2.


If one frame is on your file system and the other on a http server then
you run into a security restrciction, the so called same origin policy.
However if all frames and the frameset are from the same server there
shouldn't be a problem.
Perhaps post a URL so that other can visit the page and check it.


Dear Martin,

thk so much for yr reponse, could u explain how to post a URL in this case,
do u mean use METHOD=POST to export?

thks a lot
Jul 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by tony wong | last post: by
1 post views Thread by Marco Maroni | last post: by
8 posts views Thread by Judy Ward | last post: by
1 post views Thread by Just D. | last post: by
3 posts views Thread by Kevin | last post: by
5 posts views Thread by Kaante | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.