, . , URL- src ,
imgObj.src = 'http://www.mySite.com/images/anImage.png';
imgObj.src = 'http://www.mySite.com/images/anImage.png?foo=0';
Just understand that on subsequent downloads, it will still use the cached copy, unless you change the query string argument.
source
share