JSFiddle - React, Tailwind, and code Playground

by Vikash Verma

HTML

<input type="text" id="input1" >

JavaScript

$(function(){$('#input1').keydown(function(event){
    //your code here
    alert($('#input1').val());
 });
 });