I'm using size check when all ajax load completed
function get_ajax(link, data, callback) {_x000D_
$.ajax({_x000D_
url: link,_x000D_
type: "GET",_x000D_
data: data,_x000D_
dataType: "json",_x000D_
success: function (data, status, jqXHR) {_x000D_
callback(jqXHR.status, data)_x000D_
},_x000D_
error: function (jqXHR, status, err) {_x000D_
callback(jqXHR.status, jqXHR);_x000D_
},_x000D_
complete: function (jqXHR, status) {_x000D_
}_x000D_
})_x000D_
}_x000D_
_x000D_
function run_list_ajax(callback){_x000D_
var size=0;_x000D_
var max= 10;_x000D_
for (let index = 0; index < max; index++) {_x000D_
var link = 'http://api.jquery.com/ajaxStop/';_x000D_
var data={i:index}_x000D_
get_ajax(link,data,function(status, data){_x000D_
console.log(index)_x000D_
if(size>max-2){_x000D_
callback('done')_x000D_
}_x000D_
size++_x000D_
_x000D_
})_x000D_
}_x000D_
}_x000D_
_x000D_
run_list_ajax(function(info){_x000D_
console.log(info)_x000D_
})
_x000D_
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js"></script>
_x000D_