Scoping rules for Javascript can create unexpected impacts with loops and closures. Read this article:
https://davidyoung.tech/loops-closures-and-ajax
For some good ideas on how to solve this problem.
Scoping rules for Javascript can create unexpected impacts with loops and closures. Read this article:
https://davidyoung.tech/loops-closures-and-ajax
For some good ideas on how to solve this problem.