JSFiddle - React, Tailwind, and code Playground
by Juan Muñoz
HTML
<button>Run</button>
<input class="first" type='text'/>
<input class="second" type='text'/>
CSS
div {
position: absolute;
width: 60px;
height: 60px;
float: left;
}
.first {
left: 0;
}
.second {
left: 80px;
}
JavaScript
$( ".first" ).blur(function (){
setTimeout(function() {
$(this).next().focus();
alert("HOLA")
}, 1000);
});