W3C home > Mailing lists > Public > whatwg@whatwg.org > February 2010

[whatwg] prompts, alerts and showModalDialog during beforeunload/unload events

From: Scott González <scott.gonzalez@gmail.com>
Date: Thu, 11 Feb 2010 22:28:22 -0500
Message-ID: <9450c5341002111928t628535c5x611f051b86bc8b2d@mail.gmail.com>
On Thu, Feb 11, 2010 at 9:55 PM, Tab Atkins Jr. <jackalmage at gmail.com>wrote:

> I commonly see them put to *good* use by editting applications,
> warning you if you attempt to leave the page without saving.  It has
> saved me from accidentally lost effort just in the past few days in
> both my email and one of my wikis.
>

I use dialogs in this fashion as well. Users get very frustrated when they
accidentally leave a page with unsaved content and this is the easiest
improvement for most developers to make.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20100211/404d3b6c/attachment-0001.htm>
Received on Thursday, 11 February 2010 19:28:22 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:55 UTC