JSFiddle - React, Tailwind, and code Playground

by ChrisStanyon

HTML

<input id="myInput">

JavaScript

$('#myInput').on('keyup', (e) => {
console.log(this.value)
})