This works in FF, but not in IE 7 and 8. Is there anyway to make it work in IE?
setInterval(function() {
    $("#content").load(location.href+" #content>*","");
}, 5000);
(this code is from http://blog.mediasoft.be/partial-page-开发者_高级运维refresh-with-ajax-and-jquery/)
I'm not sure what the last "" is, but it can be left off, IE may have trouble with the empty data param:
setInterval(function() {
    $("#content").load(location.href+" #content>*");
}, 5000);
Is there any javascript in the returned HTML? Is so, that could be causing the problem. Remove the javascript and put in the parent page in a callback function.
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论