Click to See Complete Forum and Search --> : Is Opener still open?


Webskater
01-14-2004, 08:46 AM
Can anyone tell me how to test whether the window that opened the window I am on is open.

i.e. I want to say

if (window.opener is still open)

Thanks for any help

fredmv
01-14-2004, 10:26 AM
if(opener && typeof opener.document != 'undefined')
{
// exists
}

Webskater
01-14-2004, 11:32 AM
Thanks for your answer.