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();
|