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

Q366 How can I avoid the confirm message when closing a window?

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

Q366 How can I avoid the confirm message when closing a window?

The confirm message appears when the window you are closing has more than one location in the history object. To avoid the confirm message you'll need to avoid loading one than one document in the window you wish to close - perhaps by using the replace() method.

Feedback on 'Q366 How can I avoid the confirm message when closing a window?'


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.