JQuery Image Swap


/ Published in: jQuery
Save to your folder(s)



Copy this code and paste it in your HTML
  1. $("#myImage").attr("src", "path/to/newImage.jpg");

URL: http://jquery-howto.blogspot.com/2009/04/jquery-image-swap-or-how-to-replace.html

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.