running Ajax when the page is not refreshed, ie encounters Ajax cache, at the beginning, I didn't know ie I had to solve this problem for a long time. To sum up the solution:
InIEUseAjaxWhen a page is requested, the previous result is usually returned due to caching, resulting in confusion,[That isGetMethod, because the sending parameters and addresses are consistentIEThe browser retrieves data from the cache instead of requesting the server.PostThis problem does not occur because of different parameters.]WhileFF. To avoid cache impact, you can do this:
IEAccess Policy:InternetOption--Browsing History--Set-- InternetThe option of the temporary file is changed to "yes" every time you access the webpage.
1:InAjaxAdd a random function after the requested page,We can use random time functions.
InJavascriptSentURLAddT = math. Random ()
For example: URL + "&" + "t =" + math. Random ();OrNew Date ();
InURLAdd"? Timestamp = "+ new date (). gettime ();
The best method:
$. Ajaxsetup ({cache: false })
In this way, allAjaxAll requests are executed. You don't have to modify the completedN... In progressPHProject