Hi I am trying to load the image into a hidden div. I need to do this many times and I don’t want to load image from cache. Here is the code.
document.getElementById('container').innerHTML = '<img src="http://blog.dwolla.com/wp-content/uploads/2012/09/stackoverflow.png" onload="onLoad()" />'
function onLoad() {
alert()
}
Is there a way to do that without cache?
Thank you…
Append some random parameter to image
srcso cache will not be used: