deferred.then()

Add handlers to be called when the Deferred object is resolved, rejected, or still in progress. Prior to jQuery 1.8, the arguments could be a function or an array of functions. For all signatures, the arguments can be null if no callback of that type is desired. Alternatively, use .done(), .fail() or .progress() to set only one type of callback without filtering status or values. As of jQuery 1.8, the deferred.then() method returns a new promise that

deferred.notifyWith()

Call the progressCallbacks on a Deferred object with the given context and args. Normally, only the creator of a Deferred should call this method; you can prevent other code from changing the Deferred's state or reporting status by returning a restricted Promise object through deferred.promise(). When deferred.notifyWith is called, any progressCallbacks added by deferred.then or deferred.progress are called. Callbacks are executed in the order they we

deferred.notify()

Call the progressCallbacks on a Deferred object with the given args. Normally, only the creator of a Deferred should call this method; you can prevent other code from changing the Deferred's state or reporting status by returning a restricted Promise object through deferred.promise(). When deferred.notify is called, any progressCallbacks added by deferred.then or deferred.progress are called. Callbacks are executed in the order they were added. Each c

deferred.isResolved()

Determine whether a Deferred object has been resolved. This API is deprecated as of jQuery 1.7 and removed as of jQuery 1.8; please use deferred.state() instead. Returns true if the Deferred object is in the resolved state, meaning that either deferred.resolve() or deferred.resolveWith() has been called for the object and the doneCallbacks have been called (or are in the process of being called). Note that a Deferred object can be in one of three stat

deferred.isRejected()

Determine whether a Deferred object has been rejected. As of jQuery 1.7 this API has been deprecated; please use deferred.state() instead. Returns true if the Deferred object is in the rejected state, meaning that either deferred.reject() or deferred.rejectWith() has been called for the object and the failCallbacks have been called (or are in the process of being called). Note that a Deferred object can be in one of three states: pending, resolved, or

deferred.fail()

Add handlers to be called when the Deferred object is rejected. The deferred.fail() method accepts one or more arguments, all of which can be either a single function or an array of functions. When the Deferred is rejected, the failCallbacks are called. Callbacks are executed in the order they were added. Since deferred.fail() returns the deferred object, other methods of the deferred object can be chained to this one, including additional deferred.fa

.css()

Get the computed style properties for the first element in the set of matched elements. The .css() method is a convenient way to get a computed style property from the first matched element, especially in light of the different ways browsers access most of those properties (the getComputedStyle() method in standards-based browsers versus the currentStyle and runtimeStyle properties in Internet Explorer) and the different terms browsers use for certain

deferred.done()

Add handlers to be called when the Deferred object is resolved. The deferred.done() method accepts one or more arguments, all of which can be either a single function or an array of functions. When the Deferred is resolved, the doneCallbacks are called. Callbacks are executed in the order they were added. Since deferred.done() returns the deferred object, other methods of the deferred object can be chained to this one, including additional .done() met

.contextmenu()

Bind an event handler to the "contextmenu" JavaScript event, or trigger that event on an element. This method is a shortcut for .on( "contextmenu", handler ) in the first two variations, and .trigger( "contextmenu" ) in the third. The contextmenu event is sent to an element when the right button of the mouse is clicked on it, but before the context menu is displayed. In case the context menu key is pressed, the event is triggered on the html element.

.contents()

Get the children of each element in the set of matched elements, including text and comment nodes. Given a jQuery object that represents a set of DOM elements, the .contents() method allows us to search through the immediate children of these elements in the DOM tree and construct a new jQuery object from the matching elements. The .contents() and .children() methods are similar, except that the former includes text nodes and comment nodes as well as