Click to See Complete Forum and Search --> : How to Stop User from Closing Browser Window?


123devang
05-13-2003, 06:17 AM
:)

Hello,

I want to show windows inbuilt dialog box of...

"the web page you are viewing is trying to close the window. do you want to close this window?"

How can I show this dialog box when user presses top right closing button (or say, when user tries to close the browser window)? When our script tries to close the window, it shows this dialog box, but, when end-user tries to close the browser, then no message appears, which, I want to show.

Please help me as soon as possible.

:o

Thanks in Advance,

Devang. :confused: