Disclaimer: I am still learning and don't have a lot of experience.
At the moment for ALL of my XMLHttpRequests I am using async = true.
The problem is, when one requests takes longer and the user does not want to wait for the request and he clicks somewhere else and this XMLHttpRequests loads faster, we see the content of the second request and when the first XMLHttpRequests finishes it overwrites the second content.
I know that I could still use async = true, when the rest of the code would be better, but it is way easier to change to false, instead of changing hundreds of files.
I changed it to false, but I am afraid that this will cause other problems.
Can anyone tell me when to use async = true and when async = false. And if there might be any problems using async = false?
Thank you in advance! :-)