<script type="text/javascript"> window.onload = setupRefresh; function setupRefresh() { setTimeout("refreshPage();",1000); } function refreshPage() { window.location = location.href; }
$(function() { startRefresh(); }); function startRefresh() { setTimeout(startRefresh,1000); $.get('pagelink.PHP',function(data) { $('#content_div_id').html(data); }); }