Quantcast
Channel: jQuery won't load updated images - Stack Overflow
Browsing latest articles
Browse All 4 View Live

Answer by Salman A for jQuery won't load updated images

One trick is t append a random query string URL which causes the image to reload from the server. The code could be something like:setInterval(function() { var img = $("#img").get(0); img.src =...

View Article



Answer by Matanya for jQuery won't load updated images

your code:var imgs = ['http://www.ramseycommunityradio.co.uk/images/webcam.jpg', 'http://www.ramseycommunityradio.co.uk/images/webcam.jpg'] $("#webcam").attr('src', imgs[1]); var refreshId =...

View Article

Answer by n00dle for jQuery won't load updated images

You could try appending a changing query string onto the URL, this should stop caching if that is indeed your problem. I've seen this done with a time stamp here: how to generate and append a random...

View Article

jQuery won't load updated images

Is anyone able to determine, how to stop the jQuery caching the image that it grabs, and displaying the same image around and around again?Basically the image is been re-uploaded every 5 seconds, as it...

View Article
Browsing latest articles
Browse All 4 View Live




Latest Images