等到全部jQuery Ajax请求都完成了吗? - Wait until all jQuery Ajax requests are done?

问题:

How do I make a function wait until all jQuery Ajax requests are done inside another function? 我如何让一个函数等到全部jQuery Ajax请求都在另外一个函数中完成以后? ide

In short, I need to wait for all Ajax requests to be done before I execute the next. 简而言之,在执行下一个请求以前,我须要等待全部Ajax请求完成。 But how? 可是如何? 函数


解决方案:

参考一: https://stackoom.com/question/FZ2D/等到全部jQuery-Ajax请求都完成了吗
参考二: https://oldbug.net/q/FZ2D/Wait-until-all-jQuery-Ajax-requests-are-done
相关文章
相关标签/搜索