homepage Welcome to WebmasterWorld Guest from 107.22.70.215
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

    
window closing using javascript
manjumurthy




msg:1480826
 1:14 pm on Jun 20, 2001 (gmt 0)

How do i prevent the confirm dialog from appearing when i close a window using the javascript method window.close()

can anyone help me please
manju

 

tedster




msg:1480827
 7:25 pm on Jun 20, 2001 (gmt 0)

Javascript can only automatically close a window that it opened. If you're closing a window that was opened in another way, you will always see the confirm dialog box. It's a security necessity.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved