[thelist] javascript: closing a window opened from a previous page

Kasimir K evolt at kasimir-k.fi
Thu Apr 29 17:01:32 CDT 2004

> I'm trying to work my way around something, and I's thinking I could:
> 1) Page A's onSubmit opens a window, and submits the form to Page B
> 2) Page B's onLoad closes the window opened by Page A
> I'm pretty sure I can't do this, because the object reference is lost
> when Page A unloads, or am I wrong?

How about the opened window closing itself, when its 
window.opener.location== B?


More information about the thelist mailing list