This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes Parent-Child window relationship 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 "Parent-Child window relationship" Watch "Parent-Child window relationship" New topic

Parent-Child window relationship

Shashi Iyy

Joined: Jun 12, 2008
Posts: 18
Hi All,

I need to check whether the child window of a parent window is opened or not using Javascript.How can this be achieved using Javascript?

Thanks in advance,
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15376

This only works when the parent page does not postback/refresh.

It is sorta covered in the JavaRanch Style Guide.
subject: Parent-Child window relationship