done or success for $.each
Hi,
Why I am getting:
- $.each(data, function (index, item) {
- -------- run some code here
- -------------
- ------------
- }).promise().done(function () {
- alert("All was done");
- });
Isn't there any done or success for the $.each?
kindly advise how to achieve done or success for $.each
Thanks,