LoneRaven
August 28th, 2003, 21:06
I have a link on my parent page that creates a popup window that modifies a database field. As the parent window displays information from the same field, I would like the close event of the child window to trigger a parent reload function. That way, the parent window always has the latest information. However, the
"<"BODY onUnload="parent.opener.location.reload();">" does not work. Whenever I click on a link in the popup page the page loses focus as it reloads the parent page.
If someone could give me some javascript code to check only for a true window close I would greatly appreciate it.
Thanks
"<"BODY onUnload="parent.opener.location.reload();">" does not work. Whenever I click on a link in the popup page the page loses focus as it reloads the parent page.
If someone could give me some javascript code to check only for a true window close I would greatly appreciate it.
Thanks