Version 1.5
All the aspects of the API that were added, or had a new signature added, in the corresponding version of jQuery.
jQuery 1.5 also includes a large rewrite of the Ajax module, which has a number of extensibility improvements. You can find out more about those improvements in the Extending Ajax documentation.
Additionally jQuery 1.5 includes a new Deferred callback management system you can learn more about in in the Deferred Object documentation.
-
jQuery.ajax()
Perform an asynchronous HTTP (Ajax) request.
-
jQuery.ajaxPrefilter()
Handle custom Ajax options or modify existing options before each request is sent and before they are processed by
$.ajax()
. -
.clone()
Create a deep copy of the set of matched elements.
-
deferred.done()
Add handlers to be called when the Deferred object is resolved.
-
deferred.fail()
Add handlers to be called when the Deferred object is rejected.
-
deferred.isRejected()
Determine whether a Deferred object has been rejected.
-
deferred.isResolved()
Determine whether a Deferred object has been resolved.
-
deferred.promise()
Return a Deferred's Promise object.
-
deferred.reject()
Reject a Deferred object and call any failCallbacks with the given
args
. -
deferred.rejectWith()
Reject a Deferred object and call any failCallbacks with the given
context
andargs
. -
deferred.resolve()
Resolve a Deferred object and call any doneCallbacks with the given
args
. -
deferred.resolveWith()
Resolve a Deferred object and call any doneCallbacks with the given
context
andargs
. -
deferred.then()
Add handlers to be called when the Deferred object is resolved or rejected.
-
jQuery.get()
Load data from the server using a HTTP GET request.
-
jQuery.getJSON()
Load JSON-encoded data from the server using a GET HTTP request.
-
jQuery.getScript()
Load a JavaScript file from the server using a GET HTTP request, then execute it.
-
jQuery.hasData()
Determine whether an element has any jQuery data associated with it.
-
jQuery.parseXML()
Parses a string into an XML document.
-
jQuery.post()
Load data from the server using a HTTP POST request.
-
jQuery.sub()
Creates a new copy of jQuery whose properties and methods can be modified without affecting the original jQuery object.
-
jQuery.when()
Provides a way to execute callback functions based on one or more objects, usually Deferred objects that represent asynchronous events.