Connecting Tech Pros Worldwide Help | Site Map

FAQ Topic - How do I close a window and why does it not work on the first one? (2008-08-26)

 
LinkBack Thread Tools Search this Thread
  #1  
Old August 25th, 2008, 11:05 PM
FAQ server
Guest
 
Posts: n/a
Default FAQ Topic - How do I close a window and why does it not work on the first one? (2008-08-26)

-----------------------------------------------------------------------
FAQ Topic - How do I close a window and why does it not
work on the first one?
-----------------------------------------------------------------------

Use ` windowRef.close() `, where windowRef is a window object
reference, such as window, top, parent, self, or a reference
obtained from the window.open() method. You can only close
windows opened by scripts, no others.

http://msdn2.microsoft.com/en-us/library/ms536367.aspx

http://docs.sun.com/source/816-6408-...ow.htm#1201822

http://developer.mozilla.org/en/docs...indow.open#FAQ


--
Postings such as this are automatically sent once a day. Their
goal is to answer repeated questions, and to offer the content to
the community for continuous evaluation/improvement. The complete
comp.lang.javascript FAQ is at http://jibbering.com/faq/index.html.
The FAQ workers are a group of volunteers. The sendings of these
daily posts are proficiently hosted by http://www.pair.com.


 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.