Easy Tutorial
❮ Eff Fadeto Jquery Slide ❯

jQuery deferred.resolve() Method

jQuery Miscellaneous Methods


Definition and Usage

The deferred.resolve() function is used to resolve a Deferred object and invoke any doneCallbacks functions with the given args parameters.

Note: 1. Typically, only the creator of the Deferred object should call this method. You can prevent other code from changing the state of the Deferred object or reporting its status by returning a restricted Promise object through deferred.promise().


Syntax

Parameter Description
args Object type Pass an optional array of arguments to the doneCallbacks functions

jQuery Miscellaneous Methods

❮ Eff Fadeto Jquery Slide ❯