Thursday, March 03, 2011

javascript - auto-refreshing div with jquery - Stack Overflow

javascript - auto-refreshing div with jquery - Stack Overflow: "function update() {
  $.get('response.php', function(data) {
    $('#some_div').html(data);
    window.setTimeout(update, 10000);
  });
}"