JSFiddle - React, Tailwind, and code Playground

by Rejith R Krishnan

HTML

<input type="text">

JavaScript

$( "input[type='text']" ).on('input propertychange',function(e) {
    alert($( this ).val())
});