js attr image code example
Example: jquery change picture source
$(document).ready(function () {
$('img').click(function(){
$(this).attr('src','images/download.jpeg')
})
})
$(document).ready(function () {
$('img').click(function(){
$(this).attr('src','images/download.jpeg')
})
})