首页 > 代码库 > js判断所有异步ajax请求调用完毕

js判断所有异步ajax请求调用完毕

$(function() {  $(document).ajaxStop(function() {    $(this).unbind("ajaxStop"); //prevent running again when other calls finish    LoadContact();  });  LoadCategories($(‘#Category‘));  LoadPositions($(‘#Position‘));  LoadDepartments($(‘#Department‘));});

 

js判断所有异步ajax请求调用完毕