Short ONELINER:
<input onkeydown="return /[a-z]/i.test(event.key)" >
For all unicode letters try this regexp: /\p{L}/u (but … this) – and here is working example 🙂
Short ONELINER:
<input onkeydown="return /[a-z]/i.test(event.key)" >
For all unicode letters try this regexp: /\p{L}/u (but … this) – and here is working example 🙂