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


You need to login to view comments.