Reloading in a separate window.
Hi Im trying to open a pop up window from a list of elements in a database
and have that popup window contain a delete form. After the record is deleted
I have a script close that popup window. I then have the main window refresh(right
now it uses onFocus self.reload() ) but that causes problems with certain
browsers. What I would like to do is include the code to refresh the main
window, inside the code from the form that deletes and then closes that window.
The page I want to reload is contained in a frame named="main" and the pop
up window where I delete the record is called "popup". I have tried many
different combinations of parent.location.reload() and such. Any help in
reloading a main page from a popup would be greatly appreciated.
Re: Reloading in a separate window.
Do you reload the main window *before* closing the popup window?
BTW, the correct syntax to point to a frame from a popup is:
opener.parent.frameName.location
where of course frameName is the name of your target frame.
cya
Frederiek
"Steve" <savante21@yahoo.com> wrote:
>
>Hi Im trying to open a pop up window from a list of elements in a database
>and have that popup window contain a delete form. After the record is deleted
>I have a script close that popup window. I then have the main window refresh(right
>now it uses onFocus self.reload() ) but that causes problems with certain
>browsers. What I would like to do is include the code to refresh the main
>window, inside the code from the form that deletes and then closes that
window.
> The page I want to reload is contained in a frame named="main" and the
pop
>up window where I delete the record is called "popup". I have tried many
>different combinations of parent.location.reload() and such. Any help in
>reloading a main page from a popup would be greatly appreciated.