Problem with IE and setInterval() not refreshing/updating Problem with IE and setInterval() not refreshing/updating jquery jquery

Problem with IE and setInterval() not refreshing/updating


Try disabling the cache with ajaxSetup

$.ajaxSetup ({    // Disable caching of AJAX responses */    cache: false});function updateComm() {   var url="commandSys.php";   jQuery("#theElement").load(url);  }setInterval(updateComm, 1000);

Alternatively, you can manually just append a +new Date to url so it appends a query string to prevent caching.

Alternatively, disable caching on the server-side.


Your php page is cached. Has nothing to do with the interval. Set the right caching headers on the page.