阅读背景:

如何在循环中完成所有AJAX请求后执行回调?

来源:互联网 

I have a loop which iterates through an array of HTML elements. Each iteration makes a GET request (the url of which depends on the current element) and does some additional processing. If I wanted to signal that all requests have completed, how would I do so?I have a loop which iterates through an array o




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: