Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

Q719 How can I shut down the browser by closing the child window AND its open parent window?

irt.org | Knowledge Base | JavaScript | Window | Q719 [ previous next ]

Q719 How can I shut down the browser by closing the child window AND its open parent window?

From the child window, first close the owner, then the current window:

<SCRIPT LANGUAGE="JavaScript"><!--
opener.top.close();
self.close();
//--></SCRIPT>

Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 30th March 2008. Maintained by: Martin Webb and Michel Plungjan
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2008 irt.org, All Rights Reserved.