JSFiddle - React, Tailwind, and code Playground

by mprabhat

HTML

<div id="first">
<input type="text" value="" />
<input type="text" value="" />
</div>

<div id="second">

<input type="text" />

</div>

JavaScript

jQuery('div:first').keydown(function(e) {
    alert(e.keyCode); // replace "37" below with the windows key code
    if (e.keyCode == 37) {
        alert("windows key pressed");
        return false;
    }
});