How can I detect the last ajax call in a loop?

前端 未结 0 1406
轻奢々
轻奢々 2020-12-22 23:32

I have an ajax call inside a loop and I want to detect the last time the ajax call is fired in the loop:

for ( var i = 0; i < diff.length ; i++ ) {

   ...         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题