JSFiddle - React, Tailwind, and code Playground

HTML

<input id="mytest2" value="123"/>
<button id="findRow">Find Row</button>

JavaScript

$("#findRow").click(function() {   
  var theVal = $("#mytest2").val();
  alert(theVal);
});