JSFiddle - React, Tailwind, and code Playground
by jasongennaro
HTML
<input type="text" id="input" />
JavaScript
$("#input").blur(function() {
if($(this).val() == ''){
alert('empty');
}
});
by jasongennaro
<input type="text" id="input" />
$("#input").blur(function() {
if($(this).val() == ''){
alert('empty');
}
});