Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within HTML Pages with CSS and JavaScript
Search Coderanch
Advance search
Google search
Register / Login
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
Forum:
HTML Pages with CSS and JavaScript
How do you tell how many popups you have open ?
Brian Quinn
Ranch Hand
Posts: 32
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I have a web app that allows the user to open 1+ popups at any given time. If I need to close them with JavaScript, can I find how many are open ? They are all opened using the same JavaScript function.
Eric Pascarello
author
Posts: 15385
6
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
If you do it like the way I said in my first post here with the array:
https://coderanch.com/t/115552/HTML-JavaScript/Closing-windows-JavaScript
Eric
For my next trick, I'll need the help of a tiny ad ...
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Capturing dialogs
Can I in anyway see if popup is possible ?
The Most Annoying Web Page In the World
closing chain of popups at a time in javascript
how to keep track of popups
More...