By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,567 Members | 1,185 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,567 IT Pros & Developers. It's quick & easy.

Refreshing Windows

P: n/a
I have a website which has one main window. When a user clicks an option on
this window, a pop window appear. Then user can then enter information on
this window and then they can click Ok. On clicking ok this popup window
closes and another one appear.

What I want to do is on closing of the 2nd popup window, I want the main
window to refresh itself.

Can anyone tell me how I can access the main window from the 2nd popup
window.
Oct 10 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a

David Lee wrote:
I have a website which has one main window. When a user clicks an option on
this window, a pop window appear. Then user can then enter information on
this window and then they can click Ok. On clicking ok this popup window
closes and another one appear.

What I want to do is on closing of the 2nd popup window, I want the main
window to refresh itself.

Can anyone tell me how I can access the main window from the 2nd popup
window.


What opened the second window?
If the main window did, you can use
opener.location.reload();

Oct 10 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.