JSFiddle - React, Tailwind, and code Playground
by Juan Muñoz
HTML
<div id="form">
<input type="text" />
<br />
<input type="text" />
<br />
<input type="text" />
</div>
CSS
#form{
padding: 10px;
}
input {
margin-bottom: 10px;
}
JavaScript
var $inputs = $('#form').find('input');
alert('load');
alert('after the blur');
$inputs.blur(function(){
var $this = $(this);
alert('it works');
});
$inputs.trigger('blur');