JavaScript Keycode 46 is DEL Function key or (.) period sign?
- by Omar
Im writing some logic in JavaScript using jquery, where i must check the input content against a REGEX pattern ex:
"^[a-zA-Z0-9_]*$" //Alpha-numeric and _
The logic is almost done, i just have a little problem filtering the function key DEL,
my logic goes like this:
var FunctionsKey = new Array(8, 9, 13, 16, 35, 36, 37, 39, 46);
function…