×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Javascript
Posted by: Joel Quenard
Added: Dec 7, 2021 5:35 PM
Views: 596
Tags: no tags
  1. function keyAlphaNum(e) {
  2.     let k = e.key;
  3.     return ((k >= 48 && k <= 57) || (k >= 65 && k <= 90) || (k >= 97 && k <= 122));
  4. }