jquery refresh

jquery refresh

hello,
I am using the following code to refresh a div tag in my page every 5 seconds -
  1. $(document).ready(function() {
             $("#content_1").load("include/include.php?q=1");
           var refreshId = setInterval(function() {
              $("#content_1").load('include/include.php?q=1');
           }, 5000);
        });




This code seems to be working as expected in firefox and chrome.  However, in IE there is no update happening.  I am assuming it has to do with caching, but am not sure.

Can someone verify that that is true.  If so, how can I get around that?

Thanks






    • Topic Participants

    • carl