Hello,
I am using setInterval and the jQuery load function to periodically update an image tag.
var refresh_days = setInterval(function() {
$('#box_name').load("dynamic.php");}, 1000 );
This works, but there is a slight delay before the new image is fully loaded, during which nothing is shown.
Is there a way I can wait until the new image is loaded completely, and then display it, so that the image changes instantaneously from the user's perspective?
My target browser is Chrome and I do not need this to be compatible with IE.
Thanks,