JSFiddle - React, Tailwind, and code Playground

HTML

<table>
    <tr>  
        <td>test test <span class="hovertip">hulk</span> <span class="edit">(hover)</span></td>
    </tr>
</table>

CSS

.edit
{
    display: none;
}

JavaScript

$(".hovertip").parent().on('hover', function() {
        alert('yay');
    });