JSFiddle - React, Tailwind, and code Playground
by appleBud
HTML
<input type="text" name="paytermsmodalrate" id="paytermsmodalrate" />
<input type="button" id="submit" value="showValue" />
JavaScript
$("#submit").click(function(){
var value= $('#paytermsmodalrate').val();
});