DrZork101
asked on
Image not reloading - using javascript with random url string added
Hi,
I am changing an image to an ajax spinner, uploading a new image, changin the image back to the original url + a random string to avoid caching.
However, the image does not always update and sometimes needs a reload.
How can I can it to always show the new image?
Thanks.
Julian
I am changing an image to an ajax spinner, uploading a new image, changin the image back to the original url + a random string to avoid caching.
However, the image does not always update and sometimes needs a reload.
How can I can it to always show the new image?
Thanks.
Julian
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.