Easy Tutorial
❮ Event Unbind Sel Input Checkbox ❯

jQuery deferred.reject() Method

jQuery Miscellaneous Methods


Definition and Usage

The deferred.reject() function is used to reject a deferred object and invoke any failCallbacks with the given arguments.

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 via deferred.promise().


Syntax

Parameter Description
args Object type Optional arguments to be passed to the failCallbacks

jQuery Miscellaneous Methods

❮ Event Unbind Sel Input Checkbox ❯