<a href="" class="btn">Click <span class="popover-body_span"></span></a>
<br>
<a href="" class="btn">Click <span class="popover-body_span"></span></a>
$(".btn").click(function(e){
    e.preventDefault();     
    $(this).find('.popover-body_span').html("Скопировано");    
});

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

  1. https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js