JSFiddle - React, Tailwind, and code Playground

by aybalasubramanian

HTML

<input id="textinput" type="text"></input>

JavaScript

$("#textinput").keydown(function(e) {
    alert(e.keyCode); // this value
});