attr img src jquery code example
Example 1: jquery change picture source
$("#my_image").attr("src","second.jpg");
Example 2: change image src jquery
$(document).ready(function () {
$('img').click(function(){
$(this).attr('src','images/download.jpeg')
})
})