Scott Blanchard wrote:
> Is it possible to create some sort of function that is fired just
> prior to the page unloading, that will give the user a confirm
> dialog, asking if they really want to unload the page? Example, "If
> you continue, you will lose any changes that have not been saved.
> Continue?"
There is the IE-proprietary onbeforeunload event that will do this [1].
1.
http://msdn.microsoft.com/workshop/author/dhtml/reference/events/onbeforeunload.asp
James Aylard