Jquery ajax – Javascript loop with ajax call generates the same JSON?
I want to call ajax in a loop, while my URL is also changed in each iteration. problem: I get the same last respond, from both 2 iterations. I tried to use closure, as suggested in Javascript loop with ajax…