JSFiddle - React, Tailwind, and code Playground

by HemalathaThanigaivel

HTML

<input name="notes"/>

JavaScript

$('input[name=notes]').keyup(function(e) {
    var code = e.keyCode || e.which;
    if (code === 9) {  
        e.preventDefault();
        //myFunction();
        alert('it works!');
    }
});