aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes How to get List of Child Windows in Javascript Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "How to get List of Child Windows in Javascript" Watch "How to get List of Child Windows in Javascript" New topic
Author

How to get List of Child Windows in Javascript

Ravi Majety
Ranch Hand

Joined: Feb 26, 2009
Posts: 59

Hi,

Is there any way to access the list of child windows opened in the javascript. So at time of logout , i can close all child windows.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61437
    
  67

Please take the time to choose an appropriate forum for your posts. This forum is for questions on JSP. For more information, please click this link ⇒ CarefullyChooseOneForum.

This post has been moved to a more appropriate forum.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
You would need to know the names of all of the windows that are created or you have to store a reference to them in an array [this only works if page is not refreshed, closed, etc].

Eric
 
Consider Paul's rocket mass heater.
 
subject: How to get List of Child Windows in Javascript