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