I\'m a novice-to-intermediate JavaScript/jQuery programmer, so concrete/executable examples would be very much appreciated.
My project requires using AJAX to poll a
You can use javascript setInterval function to load the contents each and every 5 sec.
var auto= $('#content'), refreshed_content; refreshed_content = setInterval(function(){ auto.fadeOut('slow').load("result.php).fadeIn("slow");}, 3000);
For your reference-
Auto refresh div content every 3 sec