I have following code in php page
<script type="text/javascript">
$(document).ready(function() {
setInterval(function () {
$('#show').load('job-notification.php')
}, 1000, true);
});
</script>
Div with ID #show displays data from job-notification.php
Every 1 sec this reloads the data from job-notification.
If i set time to '10000'(10 secs) then when page at first loads it takes 10 secs to display div #show. How can we display this on load & then every 10 secs it reloads the data from job-notification.php
Job Notifications contains recordset & data values.