[thelist] Testing for the existence of a named spawned window

Peter-Paul Koch gassinaumasis at hotmail.com
Thu Oct 4 08:31:34 CDT 2001


>Can somebody tell me how in javascript to test for the existence of a named
>window that has been spawned from the window that is testing?

Open it like this

var newwin = window.open(etc)

Then check

if (newwin && !newwin.closed)
{
  window is open
}

ppk

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp





More information about the thelist mailing list