Welcome to WebmasterWorld Guest from 54.160.198.60

Forum Moderators: open

Message Too Old, No Replies

window closing using javascript

     

manjumurthy

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

Inactive Member
Account Expired

 
 


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

7:25 pm on June 20, 2001 (gmt 0)

Senior Member

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

joined:May 26, 2000
posts:37301
votes: 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.
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members