<a href="random-link">
<img alt="My Photo" class="profile-img" height="80" src="img" width="80">
</a>
how do you apply this jquery .attr('target','_blank'); to the <a href="link"> so the outcome will be
<a href="random-link" target="_blank">
<img alt="My Photo" class="profile-img" height="80" src="img" width="80">
</a>
Just in case @Yusaf was using
linkas an ambiguous link, you could try this instead: