473,386 Members | 1,821 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

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
1 14658
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: Tom Szabo | last post by:
Hi, In order to preserve some settings and avoid cookies I have thought of the following trick: I simply create an array as the property of the window: window.aList = new Array(); and...
1
by: tony wong | last post by:
the page has upper frame (submit record) and lower frame (show records). i wish to refresh lower frame once submit record at upper frame. i try this, it works to refresh the lower frame...
1
by: Marco Maroni | last post by:
How to force image refresh on client browser ? Is ti possible to force the refresh of the same image (tha was changed server-side) to the client, without user press Contrl+F5 in IE ? - Marco
8
by: Judy Ward | last post by:
I have an index.aspx with frames. The top frame has a navigation bar with a "Login" hyperlink. If the user has already logged in I want this link to change to "Logout". I am using forms-based...
1
by: Just D. | last post by:
All, Who knows how can we refresh a secondary frame automatically if we do a postback on the primary frame clicking some button control? Do we have any meta tags to do that automatically or any...
3
by: Kevin | last post by:
Hi guys, I want to refresh some pages every 2 seconds. however, these html pages are not in my site, they could be any pages from yahoo.com or msn.com. I can create a page, which redirect to...
8
by: Jason S | last post by:
Hi, is there any way of getting my VB (6.0) program to automatically 'Refresh' an IE window that might be active (window status not applicable). It needs to be able to determine which active IE...
5
by: Kaante | last post by:
Hi, I basically have two frames on my page, the top one contains users stats and the bottom frame contains the website. I want to have a message icon on the top frame which would flash once the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.