I\'m having a loop, inside the loop there is an AJAX call. For each loop AJAX returns a value. I want sequential loop one after another only when AJAX request is completed.