JSFiddle - React, Tailwind, and code Playground
by pradeep777
HTML
<input type='checkbox' />
<input type='text' />
<input type='text' value=' howdy ' />
<input type='button' />
JavaScript
$(document).ready(function () {
$(":input[value='']:visible:enabled:first").focus();
});