homepage Welcome to WebmasterWorld Guest from 54.197.110.151
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

    
window closing using javascript
manjumurthy

10+ Year Member



 
Msg#: 636 posted 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

WebmasterWorld Senior Member tedster us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 636 posted 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.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved