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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply 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: 56185
    
  13

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.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15357
    
    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
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: How to get List of Child Windows in Javascript
 
Similar Threads
No javascript for child windows.
Spring : Two actions possible leading to 2 views ?
No javascript for child windows.
No javascript for child windows.
javascript using passing list box values from the popup windows