How do I delete a callback deferred.progress? – Jquery
How do I delete a previously assigned handler? var deferred = $.Deferred(); var callback = function(n) { console.log('Test ' +n); } deferred.progress(callback); deferred.notify(1); $(deferred).off('progress', callback); // It doesn't work =( deferred.notify(2); <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> Is there a way built into jQuery…