We are making multiple ajax requests to \"save\" data in a web app, then reload the page. We have run into a situation where (since requests are made asynchronously) the pa
I haven't seen it mentioned here, so I will add this:
If your content doesn't seem to refresh when using an ajax call with document.location.reload(), then add true as a parameter to the reload function - that will tell it to not use the cached version of the page, but rather to force a fresh call to the server.
So, the script to reload the page should look like this:
document.location.reload(true);