javascript - jQuery .load() not firing on images (probably caching?) -
i have pretty basic jquery code:
... $(this).find('img').load(function(){ loadedimages++; if(loadedimages == $this.find('img').length){ ... however, thats not firing consistently. fires if hard refresh or close browser, normal refresh, or hitting same url twice @ time without erasing cache makes .load() never fire.
any ideas on how fix this?
a way add "dummy variable" @ end of url use grab image... such time in milliseconds appended query string param.
Comments
Post a Comment