JSFiddle - React, Tailwind, and code Playground
HTML
<button class="delrow">
DEL
</button>
JavaScript
$(".delrow").click(function(){
alert(test!);
});
<button class="delrow">
DEL
</button>
$(".delrow").click(function(){
alert(test!);
});