-
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks