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