JSFiddle - React, Tailwind, and code Playground

by prasad raja

HTML

<input type="text" id="DivisionName" />

JavaScript

var specialKeys = new Array();
        specialKeys.push(8); //Backspace
        specialKeys.push(9); //Tab
        specialKeys.push(46); //Delete
        specialKeys.push(36); //Home
        specialKeys.push(35); //End
        specialKeys.push(37); //Left
        specialKeys.push(39); //Right

 $('input[type=text]').bind('keypress', function (e) {
 });