jQuery - Partial page refresh
If you need to refresh only a portion of a page, the 3 lines of code below will definitely help. In this example, a #refresh
div is automatically refreshed every 10 seconds.
setInterval(function() {
$("#refresh").load(location.href+" #refresh>*","");
}, 10000); // milliseconds to wait
Source: [http://web.enavu.com/tutorials/top-10-jquery-snippets-including-jquery-1-4/