.load()
.load( handler )Returns: jQueryversion deprecated: 1.8, removed: 3.0
Description: Bind an event handler to the "load" event, or trigger that event on an element.
-
version added: 1.0.load( handler )
-
handlerA function to execute each time the event is triggered.
-
-
version added: 1.4.3.load( [eventData ], handler )
-
eventDataType: AnythingAn object containing data that will be passed to the event handler.
-
handlerA function to execute each time the event is triggered.
-
-
version added: 1.0.load()
- This signature does not accept any arguments.
This API has been removed in jQuery 3.0.
Instead of .load( handler )
or .load( eventData, handler )
, use .on( "load", handler )
or .on( "load", eventData, handler )
, respectively.
Instead of .load()
, use .trigger( "load" )
.
The Ajax module also has a method named .load()
. Which one is fired depends on the set of arguments passed.