JSFiddle - React, Tailwind, and code Playground
by cannap
HTML
<table>
<tbody>
<tr data-value=hello>ylo</tr>
<tr data-value=world>ylo</tr>
</tbody>
</table>
JavaScript
var findme = 'hello'
var what = $('table').find('[data-value="' + findme + '"]')
console.log(what.length === 1);