/ Published in: jQuery
![](/img/icon_sav.png?v3)
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function ChangeImage() { $('#some_image').hide() .load(function () { $(this).fadeIn(); }) .attr('src', 'http://www.gravatar.com/avatar/cfdd593cc22253bfd5c924a11c61fcc5?s=128&d=identicon&r=PG'); }
URL: http://jsbin.com/ejesu/100/edit
Comments
![RSS Feed for Comments RSS Icon](/images/rss.png?v3)