JSFiddle - React, Tailwind, and code Playground
by Manna
HTML
<input type="text"/>
<div id="log"></div>
JavaScript
jQuery(function($){
$("input:text").keyup(function(e){
$("#log").append("Keycode : " + e.which + "<br/>");
}).keypress(function(e){
$("#log").append("Ascii : " + e.which + "<br/>");
char = String.fromCharCode(e.which);
$("#log").append("Character : " + char + "<br/>");
});
});