Skip to content

Instantly share code, notes, and snippets.

@korof
Created January 28, 2014 20:18
Show Gist options
  • Save korof/8675468 to your computer and use it in GitHub Desktop.
Save korof/8675468 to your computer and use it in GitHub Desktop.
jQuery: Partial page refresh
setInterval(function() {
$("#refresh").load(location.href+" #refresh>*","");
}, 10000); // milliseconds to wait
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment