Attach a function to be executed whenever an AJAX request completes successfully. This is an Ajax Event.
The event object, XMLHttpRequest, and settings used for that request are passed as arguments to the callback.
Arguments:
| callback | Function | |
|---|---|---|
The function to execute.
function (XMLHttpRequest, ajaxOptions) {
this; // dom element listening
}
| ||