JSFiddle - React, Tailwind, and code Playground
HTML
<input type="text" Id="number" />
<input type="submit" id="button" />
JavaScript
$( document ).ready(function() {
if ( $("#number").val() >= 19200 && num <= 19276 ) {
$( "#button" ).click(function() {
alert( "Handler for .click() called." );
});
}
else if (num >= 6 && num <= 30) {
// do something
}
});