Prompt when closing the browser window...

Prompt when closing the browser window...

Post by onur.bozku » Sat, 28 Jun 2003 20:22:52


I want to ask the user if he/she is sure when he/she wants to close
the browser window. And I want to cancel the event if she is not sure.
I know this is possible, but I couldn't write the right code.
 
 
 

Prompt when closing the browser window...

Post by rf » Sat, 28 Jun 2003 20:26:18


Why do you want to close her browser window. If she wanted her browser
window closed then she would use the browser windows close functions,
file>exit, the kiss at top right, those sort of things.

Cheers
Richard.