Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

check to see if a window is open

Status
Not open for further replies.

Horrid

Programmer
May 20, 1999
373
I need to be able to check to see if a window of a certain name is open so that if a button is clicked it knows if it should load content into the window or a frame. What is the code to check to see if a window is present?
 
<b>var is_it_there<br>
IF window.parent.<i>(window name)</i><br>
THEN is_it_there = &quot;yes&quot;</b><br>
<br>
OR substitute<br>
<b>IF window.<i>(window name)</i></b> <p>-Robherc<br><a href=mailto:robherc@netzero.net>robherc@netzero.net</a><br><a href= > </a><br>*nix installation & program collector/reseller. Contact me if you think you've got one that I don't :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top