I am accessing a link on my site that will provide a new image each time it is accessed.
The issue I am running into is that if I try to load the image in the backgr
Try using a worthless querystring to make it a unique url:
function updateImage() { if(newImage.complete) { document.getElementById("theText").src = newImage.src; newImage = new Image(); number++; newImage.src = "http://localhost/image.jpg?" + new Date(); } setTimeout(updateImage, 1000); }