Mega Code Archive

 
Categories / JavaScript Reference / Event Handlers Reference
 

OnUnload Syntax and Note

Note:      This event fires before the document begins to unload.  The document will unload when     1)the user clicks the close button in the browser window, or     2)when the user goes to a different page.