JSFiddle - React, Tailwind, and code Playground
HTML
<span class="edit_person" style="cursor: pointer; color: #0066FF;">[edit]</span>
JavaScript
$('.edit_person').click(function(){
$('.edit_person').text('11111');;
});
<span class="edit_person" style="cursor: pointer; color: #0066FF;">[edit]</span>
$('.edit_person').click(function(){
$('.edit_person').text('11111');;
});