1
<a href="random-link">
<img alt="My Photo" class="profile-img" height="80" src="img" width="80">
</a>
你怎么应用这个jQuery .attr('target','_blank');
到<a href="link">
所以添加属性来包装元素使用jQuery
<a href="random-link" target="_blank">
<img alt="My Photo" class="profile-img" height="80" src="img" width="80">
</a>
perfect thankyou –