<html>
<head>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script type="text/javascript">
var i=0;
setInterval(function() {
/* can write AJAX code here. */
$('#id-body').text("Invoked "+(i++));
}, 600);
</script>
</head>
<body>
<div id="id-body">
body of html page
</div>
</body>
</html>
<head>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script type="text/javascript">
var i=0;
setInterval(function() {
/* can write AJAX code here. */
$('#id-body').text("Invoked "+(i++));
}, 600);
</script>
</head>
<body>
<div id="id-body">
body of html page
</div>
</body>
</html>