irt.org Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt

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

You are here: irt.org | FAQ | JavaScript | Window | Q719 [ previous next ]

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

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

©2013 Martin Webb

ArticlesFAQsGamesFeedback

FOLDOCRFCsInstant JavaScriptSoftwareBooksJavaScript Programmer's ReferenceAboutTop