How to refresh the src of an image with jQuery? $(imageobj).attr(‘src’, $(imageobj) .attr(‘src’) + ‘?’ + Math.random() ); How to see if an image is loaded or not with jquery […] How to refresh the src of an image with jQuery? $(imageobj).attr('src', $(imageobj) .attr('src') + '?' + Math.random() ); How to see if an image is loaded or not with jquery var imgsrc = 'img/image1.png'; $('<img/>').load(
![Some Useful JavaScript & jQuery Snippets | Codrops](https://cdn-ak-scissors.b.st-hatena.com/image/square/4b14a57a6d99efdba4e57a79af263d49af0e3b59/height=288;version=1;width=512/https%3A%2F%2Fcodrops-1f606.kxcdn.com%2Fcodrops%2Fwp-content%2Fuploads%2F2010%2F01%2Fsnippets.png%3Fx65614)