Open In App

JQuery deferred.then() method

This deferred.then() method in JQuery is used to add handlers which are to be called when the Deferred object is resolved, rejected, or in progress.

Syntax:



deferred.then(doneCallbacks[, failCallbacks][, progressCallbacks])

Parameters:

Return Value: This method method returns the deferred object.



There are two examples discussed below:


Article Tags :