Recently, many of my friends have encountered this problem, that is, when jQuery is used ,. the get method can be normally obtained and displayed in the FireFox browser, but it is not true in IE. This is mainly because of the cache problem of IE, which can be solved as follows:
[Html]
<Script type = "text/javascript" src = "jquery-1.3.2.min.js"> </script>
<Script type = "text/javascript">
$ (Document). ready (function (){
SetInterval ("shuaxin ()", 1000 );
});
Function shuaxin (){
Var url = "nongyixia. php? TimeStamp = "+ new Date (). getTime ();
$. Get (url, function (data ){
$ (". Name"). empty ();
$ (". Name"). append (data + "<br> ");
});
}
</Script>
<Div class = "name"> </div>
This code is updated on a regular basis. A time parameter is added to the URL,
Add a timestamp to the end when you submit the address, and IE will refresh each time.
From the muziduoxi Column