File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes Is Child Window Open? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Is Child Window Open?" Watch "Is Child Window Open?" New topic

Is Child Window Open?

Zath Misfit

Joined: May 23, 2005
Posts: 5
I have been searching for a while now on how to do this, and most say it can't be done.... There is always a way around that statement.

Once a window is open, using

Another window may not be allowed opened until that one is closed.

I've been attempting to send a var back to the parent when the child is closed using the onunload method, but with no luck. If I could just do that, then it could solve the problem.

But if anyone else has another idea, it's welcome.

And btw, developing in .Net and have a temporary fix working using an application var, but that has a security hole in it.

Thanks all,

Ernest Friedman-Hill
author and iconoclast

Joined: Jul 08, 2003
Posts: 24199


Welcome to JavaRanch!

Java and JavaScript are two utterly and completely different and unrelated languages. The similar names are the invention of a marketing team. Your question is about JavaScript. Most of this site is about Java, not JavaScript -- but we do have one forum entitled "HTML and JavaScript". I'll move your question there for you.

[Jess in Action][AskingGoodQuestions]
I agree. Here's the link:
subject: Is Child Window Open?
It's not a secret anymore!