I have a report page which dynamically generate the record and saved in the database. From database i need to show the dynamically updated records in the page without reload or load the contents using setInterval time function.
A:
this code http://pastie.org/937213 loads ajax.php to #live div every 3 seconds
Osman Üngür
2010-04-27 13:19:37
A:
see my question Here
and use setInterval function with it
var refreshId = setInterval(function()
{
$("#yourContainer").load('yourPage.php');
}, 5000);
offcourse Jquery is prereq for this... so download jQuery from here and include it in your page
<script href="yourlink to the file"></script>
Junaid Saeed
2010-09-05 01:26:06