how to set image url to html in jquery code example Example: jquery change picture source $("#my_image").attr("src","second.jpg");