JSFiddle - React, Tailwind, and code Playground

by James Allardice

HTML

<input id="id">

JavaScript

jQuery("#id").on("keydown", function(event, ui){
   alert(event.which);
});