jquery change source of img code example
Example: change image src using jquery
//img is the attribute tag you can use #id if you want
$("img").click(function () {
// Change src attribute of image
$(this).attr("src", "images/card-front.jpg");
});