change image src jquery
snippet in javascript

jquery change image src

user9842

//change image src with jquery
$("#myImageID").attr("src","images/my_other_image.png");

//change image src plain javascript
document.getElementById('myImageID').src="images/my_other_image.png";

change image src jquery

user6661

$(document).ready(function () {
    $('img').click(function(){
        $(this).attr('src','images/download.jpeg')
      })
})

jquery change picture source

user911

$("#my_image").attr("src","second.jpg");