Ie8ajax access cannot be refreshed every time.
AJAX Introduction
AJAX = Asynchronous JavaScript and XML (Asynchronous JavaScript and XML ).
AJAX is not a new programming language, but a new method that uses existing standards.
AJAX is the art of exchanging data with the server and updating some webpages without reloading the entire page.
The problem that IE8 cannot be refreshed every time with ajax access is described as follows:
Recently, I found that I used ajax to access the background and ie8 to access the background. For the first time, I can return a normal return value. I will not execute the background and will always return the first access result.
It's okay to use ie9, ie10, and other browsers.
After the test, it is found that ie8 caches the result obtained for the first time, so the second time is not submitted to the background.
Add a random number to the end of the ajax request, so that each request is inconsistent, and ie will not get the result from the cache.
For example, add ".... & amp; random = "+ Math. random (); so that each request is inconsistent, ie will not get the result from the cache.
The above is a small Editor to introduce to you that IE8 cannot be refreshed every time with ajax access. I hope to help you. If you have any questions, please leave a message for me, the editor will reply to you in a timely manner. Thank you very much for your support for the help House website!