JSFiddle - React, Tailwind, and code Playground

by Derek Leung

HTML

<input type="number" id="a">

JavaScript

$("#a").on("input", function(){
    console.log(this.value);
});