473,586 Members | 2,702 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Reload a frame

18 New Member
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 2137
gits
5,390 Recognized Expert Moderator Expert
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
pipet2002
18 New Member
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 Recognized Expert Moderator Expert
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
14674
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 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...
2
3427
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
6447
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. IS IT POSSIBLE (and HOW please) to do the following: 4 text controls filled in by user in Left frame, with a button click event to:
6
6661
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 I can reload the whole frameset with parent.location.href = "index.html"; However, this doesn't work with Opera. Does someone know how to do...
9
5434
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 answer or solution for this? I'm trying to do this: top.frames.location.reload(); Thanks Mark Howells www.permanenttourist.ch
5
1743
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 rather than the one I've navigated to. If you go to this page: http://fboprimedevel.e3ft.com
7
24525
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 an i-frame in it. The i-frame contains various dynamic links for opening data entry popups. One of these popups has a couple of i-frames itself....
0
7839
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8200
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8338
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7954
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
8215
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6610
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
3864
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2345
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
1179
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.