• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Is Child Window Open?

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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,

Zath
 
author and iconoclast
Posts: 24207
46
Mac OS X Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

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.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic