I want to make jquery get the image source.
My html code :
<img class="img" src="photo src">
My jquery code :
$("<a href='i want to get the photo source in here' download>download</a>").appendTo('.img');
note : the html code is running outside the script tag