Skip to main content

How to fix jQuery.load() in IE for cached images

Solution 1, removing the cache by adding a datetime string to the image src: $(‘<img/>’) .attr(‘src’, ‘image_url?’ + new Date().getTime()) .load(function() { alert(‘Image loaded’); }); This solution works almost everytime but sometimes it has introduced even more IE weirdness for me. It can also be an costly affair if you have many visitors why I […]

Read More