JSFiddle - React, Tailwind, and code Playground
by fracmak
HTML
<form>
<input type="radio" name="testradio" value="a"/><br/>
<input type="checkbox" name="testcheckbox" value="a"/><br/>
<input type="input" name="testinput" value="a"/><br/>
<input type="button" name="testbutton" value="a"/><br/>
<input type="submit" name="testsubmit" value="a"/><br/>
<input type="file" name="testfile" value="a"/><br/>
</form>
JavaScript
$('input').each(function(idx, input){
input.innerText = 'b';
})