R
Robert Dickow
I have a little bit of code in a popup window that attempts to detect
when the parent window is closed or rather just jumped to another page
url.
the expression below is used in a popup created from a frame in the
parent window:
self.opener.closed
This yields 'false' while the parent is opened. The problem is, it
always gives a 'false' even if the parent window moves to another url.
However, if the browser is closed then the expression yields 'true'.
What approach should I use to determine if the parent window from
which the popup is called is changed or closed?
when the parent window is closed or rather just jumped to another page
url.
the expression below is used in a popup created from a frame in the
parent window:
self.opener.closed
This yields 'false' while the parent is opened. The problem is, it
always gives a 'false' even if the parent window moves to another url.
However, if the browser is closed then the expression yields 'true'.
What approach should I use to determine if the parent window from
which the popup is called is changed or closed?