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

javascript popup message on browser close

anfetienne
100+
P: 424
what im trying to do is bring up a javascript message/popup message when a user closes their browser? Is it still possible to use popup messages in browsers today?
Sep 9 '09 #1
Share this Question
Share on Google+
5 Replies


Dormilich
Expert Mod 5K+
P: 8,639
@anfetienne
it is.


末末末末末末
Sep 9 '09 #2

acoder
Expert Mod 15k+
P: 16,027
@anfetienne
Use onbeforeunload. It will pop up a message.
Sep 9 '09 #3

Frinavale
Expert Mod 5K+
P: 9,731

Frinavale
Expert Mod 5K+
P: 9,731
@Dormilich
Were you hoping to play hangman Dorm?
Sep 9 '09 #5

Dormilich
Expert Mod 5K+
P: 8,639
@Frinavale
of course :)

覧覧覧覧
Sep 10 '09 #6

Post your reply

Sign in to post your reply or Sign up for a free account.