JSFiddle - React, Tailwind, and code Playground
by jonathon
HTML
<input id="inputname" />
JavaScript
$("#inputname").keyup(function() {
if (!this.value) {
alert('The box is empty');
}
});
by jonathon
<input id="inputname" />
$("#inputname").keyup(function() {
if (!this.value) {
alert('The box is empty');
}
});