Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

unload in jquery

// The unload() method attaches an event handler to the unload event but was
// deprecated in jQuery version 1.8 and removed in version 3.0.

.on( "unload", handler ) // unload event handler
.trigger( "unload" ) //maunually trigger unload event
.off( "unload" ) // close handler
Source by api.jquery.com #
 
PREVIOUS NEXT
Tagged: #unload #jquery
ADD COMMENT
Topic
Name
9+2 =