Connecting Tech Pros Worldwide Forums | Help | Site Map

Refreshing Windows

David Lee
Guest
 
Posts: n/a
#1: Oct 10 '05
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.



nikki
Guest
 
Posts: n/a
#2: Oct 10 '05

re: Refreshing Windows



David Lee wrote:[color=blue]
> 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.[/color]

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

Closed Thread