Event "OnUnload" <onunload>

Top  Previous  Next

The event is triggered when the page unloads which is occurred when one of the followings occur:

1.The browser window is closed
2.The back command of the browser used
3.Another URL is given either by typing in the address line or clicking on a link on the current page

 

Used in Elements

Page

 

See Events.