By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,380 Members | 1,736 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,380 IT Pros & Developers. It's quick & easy.

Prompt when closing the browser window...

P: n/a
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.
Jul 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
rf

"Onur Bozkurt" <on**********@softhome.net> wrote in message
news:6a**************************@posting.google.c om...
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.


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.
Jul 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.