1 <html>
2 <head>
3 <script type="text/javascript">
4 var auto_refresh = setInterval(
5 function ()
6 {
7 $('#body').load('wordscount.php').fadeIn("slow");
8 }, 10000); // refresh every 10000 milliseconds
9 </script>
10 </head>
11 <body>
12 <div id='content'></div>
13 </body>