Updated: 12/06/2000

Write New Window - Close Opener

This JavaScript example shows how to open up a new window, and write the new page. The contents of the new window/new page contain the logic necessary to close the window that opened it up (opener is the object). It is necessary to open and close the document object before and after you write the new contents (IE doesn''t care - but Netscape does).