Ajax periodic refresh of page using jQuery
var refreshId = setInterval(function() {
$('#some-content').load('/path/to/your.php');
}, 3000);
var refreshId = setInterval(function() {
$('#some-content').load('/path/to/your.php');
}, 3000);