.unload()


.unload( handler )Returns: jQueryversion deprecated: 1.8, removed: 3.0

Description: Bind an event handler to the "unload" event, or trigger that event on an element.

This API has been removed in jQuery 3.0.

Instead of .unload( handler ) or .unload( eventData, handler ), use .on( "unload", handler ) or .on( "unload", eventData, handler ), respectively.

Instead of .unload(), use .trigger( "unload" ).