JSFiddle - React, Tailwind, and code Playground

by ShankarSangoli

HTML

<div>
<table tabindex="-1">
    <tr>
        <td>Some text</td>
        <td>Some text</td>
        <td>Some text</td>
    </tr>
</table>
</div>

JavaScript

$('div').keypress(function(e){
   console.log(e.which); 
});