JSFiddle - React, Tailwind, and code Playground

HTML

<img src="edit.png" title="edit" class="showEdt" data-evalz="(eyCKeVua/TNF117)" />

JavaScript

$("body").on("click",".showEdt",function(){
    alert($(this).attr("data-evalz"));
})