for some reason, jQuery .load doesnt fire if image is saved in cache (Chrome only).
here's the jsfiddle
how can I fix it?
It is because, if current src and new src are same it doesn't load the new image as both are same. The hack for this is making the current src value blank.
$("#btn").click(function(){
$("#tst").attr('src','');
$("#tst").attr('src','https://www.google.co.il/images/srpr/logo3w.png');
});