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

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

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

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

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?'


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.