refresh - update a page automatically with jquery -
i have been testing 'jquery' script automatically updates page every n seconds ,it works fine in browsers except internet explorer doesn't load page 'posts.php' , doesn't show errors code reference
$(document).ready(function() { $("#responsecontainer").load("posts.php"); var refreshid = setinterval(function() { $("#responsecontainer").load('posts.php?randval='+ math.random()); }, 2000); $.ajaxsetup({ cache: false }); });
many sites have found have suggested ie may caching code
$("#responsecontainer").load("posts.php" + new date().gettime());
try ..it may or maynot solve issue let know caching problem
see this more info.