aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Window Closing event Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Window Closing event" Watch "Window Closing event" New topic
Author

Window Closing event

Rajesh Tarigopula
Greenhorn

Joined: Oct 19, 2004
Posts: 8
Hi, I have to close a chaild window when the parent window is closed. How to track the window close event?

moreover when the user navigates to other links in the parent window, the chaild window should not close.

Please help me in this regard, thank in advance.

Thanks
Rajesh
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
when the parent window goes to a new page or refreshes, you will loose the JavaScript object that created the child window and probably will loose the communication to it.

Eric
Sam Smoot
Ranch Hand

Joined: Apr 18, 2002
Posts: 238
You might try this...

Javascript Q-A


CNSS/NSA Infosec Professional,<br />Software Engineer
 
Don't get me started about those stupid light bulbs.
 
subject: Window Closing event