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!');
  }
});