Recent projects have encountered such a problem, the AJAX call page to get the value of the time, that is, when using jquery,. Get method in Firefox, Chrome browser can get the value and display, but under IE is not, this is mainly because of IE cache problem, This can be resolved:
<script type="Text/javascript"Src="Jquery-1.3.2.min.js"></script> <script type="Text/javascript">$ (document). Ready (function () {setinterval ("shuaxin ()", +); }); function Shuaxin () {
var url = "nongyixia.php?timestamp=" + New Date (). GetTime ();
$.get (URL, function (data,status) {
Alert ("Data:" + + data + "\ n Status:" + status);
}); } </script> <divclass="name"></div>
This code is updated on a regular basis, and a time parameter is appended to the URL,
When you submit the address to add a time stamp on the line, IE will be refreshed every time.
JQuery's. Get and. Post and. Ajax methods compatibility issues with IE