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
Tim Cooke
paul wheaton
Paul Clapham
Ron McLeod
Sheriffs:
Jeanne Boyarsky
Liutauras Vilda
Saloon Keepers:
Tim Holloway
Carey Brown
Roland Mueller
Piet Souris
Bartenders:
Forum:
HTML Pages with CSS and JavaScript
how to check pop up windows
Vijay Kumar
Ranch Hand
Posts: 260
posted 20 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
hi
i have been wrking webapp in which I open a pop up window from parent window. If I click on the button to open a pop up window again then is should display a message like a 'window is already opend..'
thanks
Eric Pascarello
author
Posts: 15385
6
posted 20 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Basic idea:
<script> var winPopw function closePops(){ if(winPop[i] && !winPop[i].closed){ alert("Window is already open"); } else{ winPop = window.open("about:blank"); } } </script>
Eric
Don't get me started about those stupid
light bulbs
.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
opening a new window through response.sendredirect
Reloading a parent window 1 after submit from window 2
Hide Standart Buttons in Taskbar
Pop-up window Issue
Pop up window issue
More...