Welcome to WebmasterWorld Guest from 54.145.39.186

Forum Moderators: open

Message Too Old, No Replies

window closing using javascript

     

manjumurthy

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

10+ Year Member



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

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

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



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.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month