JSFiddle - React, Tailwind, and code Playground
by Joe
HTML
<input id="textbox1"></input>
<button id="getTextBoxValue">Get value</button>
JavaScript
$('#getTextBoxValue').on("load",
function(){
var value = $("#textbox1").val();
alert('The Value in Textbox is '+value);
});