If you start typing an email in Hotmail then navigate away without saving or sending it you get the following message: This is done by using the onbeforeunload window event. This event can be used to perform any processing needed before navigating to a new page, but if the event handler returns a string you get this confirmation dialog with your own string replacing “You haven’t sent this message. Are you sure you wan’t to discard it?“. If you press … →
Follow Me
Facebook
Latest Tweets
- jetstrap.com - Pretty cool! Build #Twitter #Bootstrap interfaces with simple drag and drop 3 months ago
- Love #twitter #bootstrap 3 months ago
- mediabrowser.tv - An awesome #WMC plugin that automatically gets cover art and meta data for all your movies and series 3 months ago
-
Recent Posts
-
Categories





