JSFiddle - React, Tailwind, and code Playground
HTML
<div class="wrapper">
<span class="higher">
<span class="lower">
hello
</span>
</span>
</div>
JavaScript
$('.wrapper').on('mousedown', '.higher', function(e){
alert($(this).attr('class'))
})