473,377 Members | 1,119 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,377 software developers and data experts.

Reload a frame

i have created a main page which contains a frame on the center .
the frame has a link which opens a new separate window.
i am trying to create a function that will make it possible for me to click
a button to close the new separate window and then reload the frame

window.reload not seem to work cause i cant specify the page to reload
Jan 8 '08 #1
3 2124
gits
5,390 Expert Mod 4TB
hi ...

please post the code you have so far ... where is the 'close'-function called? in you new opened window or the parent?

kind regards
Jan 8 '08 #2
hi ...

please post the code you have so far ... where is the 'close'-function called? in you new opened window or the parent?

kind regards


the 'close' function is called in the new window. cause i want the new window to close
i am calling the reload function in the new window but i want the parent window to refresh upon clicking a button in the new window
Jan 9 '08 #3
gits
5,390 Expert Mod 4TB
since you didn't post your code i'll give you an example for your purpose (how to refresh a frame in the parent window):

Expand|Select|Wrap|Line Numbers
  1. var target_win = opener.frames.your_frame_name;
  2. target_win.location.href = target_win.location.href;
you may even use the reload- or refresh-methods.

kind regards
Jan 10 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: WL Yang | last post by:
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...
2
by: Patrick BARON | last post by:
Hi I want to be able to reload a frame only when an address specific is called using Netscape 4.x. I thus introduced into the page the following script (which does not work...): < script...
3
by: KathyB | last post by:
Hi, Been reading a LOT about frames, variables, etc. I realize you can NOT use server.transfer with target frames (which are client)... I have a Parent frame containing Left and Right frames....
6
by: Stefan Mueller | last post by:
After my web page has been loaded I'm doing some tests with a JavaScript. If I figure out that something is wrong I'd like to reload the whole frameset. With Internet Explorer and Mozilla Firefox...
9
by: permanent.tourist | last post by:
I'm having a hell of a job getting this to work in Safari: the only thing I can think of is that one can't use reload() across to another frame for security reasons. Does anyone have a concrete...
5
by: David T. Ashley | last post by:
Hi, I have an application where I use a left frame to navigate to another page in the main frame. After I've done this, when I use "RELOAD" in the browser, it goes back to the original page...
7
by: Raffi | last post by:
I'm facing a tricky (at least for me) page reload/refresh scenario and need some help. I'm working on a web application which is primarily used with MSIE. The application has a main window with...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.