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

Q1207 How can I detect my pop up window being closed by the visitor?

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

If you popup the window with:

var WinId = window.open('popup.htm')
if (!WinId.opener) WinId.opener = self;

Then you can loop and look at the WinId.closed property in Internet Explorer 4+ and Netscape Navigator 3+

Feedback on 'Q1207 How can I detect my pop up window being closed by the visitor?'

©2018 Martin Webb