onunload Event Sample

This sample will demonstrate when the onunload event fires. Click the Go To Page 2 button (or simply close the window) and the onunload event handler will provide a notification that the event has fired.





[Right-click and choose View Source from the shortcut menu.]

© 2007 Microsoft Corporation. All rights reserved. Terms of use.