I\'m trying to refresh my recent list every 5 seconds. I was looking at ajax and found jquery.
I found a function known as \"everyTime\"
This is what I have
You can use everyTime plugin with jQuery Ajax like this:
var j = jQuery.noConflict();
j(document).ready(function()
{
j(".refresh").everyTime(1000,function(i){
j.ajax({
url: "refresh.php",
cache: false,
success: function(html){
j(".refresh").html(html);
}
})
})
});
Late answer. Hope this will help users researching on similar functions.