JSFiddle - React, Tailwind, and code Playground

by elclanrs

HTML

<input type="text" id ="txtClient" value="aaaa" />

JavaScript

$('[id$=txtClient]').keypress(function (e) {
    if (String.fromCharCode(e.which) == '#') {
        e.preventDefault();
    }
});