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 to check pop up windows
Vijay Kumar
Ranch Hand
Posts: 260
posted 19 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 19 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
Consider Paul's
rocket mass heater
.
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...