JSFiddle - React, Tailwind, and code Playground
by mrivasa
HTML
<input id="test-me" type="text" />
JavaScript
$("input#test-me").on("blur", function(){
var value = $(this).val();
if(value === ''){
console.log('nothing here!');
}
});
by mrivasa
<input id="test-me" type="text" />
$("input#test-me").on("blur", function(){
var value = $(this).val();
if(value === ''){
console.log('nothing here!');
}
});