function updateimage(){
$("#fileimg").attr("src","path/to/image.jpg");
$('#fileimg').fadeIn('slow');
setTimeout(updateimage, 5000);
}
Hey,
I want to reload an image every 5 seconds but that doesn't work, it stays the same, but when you F5 the page it do refreshes. How can i refresh it every 5 sec normally that the image updates too?