JSFiddle - React, Tailwind, and code Playground
HTML
<div id="teste"> <input class="req" type="text" /> </div>
JavaScript
$(window).ready(function(){
//alert();
$("#test input.req").hide();
});
<div id="teste"> <input class="req" type="text" /> </div>
$(window).ready(function(){
//alert();
$("#test input.req").hide();
});