Profile
Achievement
jlvallelonga's Recent SnippetsTagged code
- All /
« Prev 1 Next »
send in an event
it returns the key that you pressed if it was alphanumeric or backspace
otherwise it returns "-1"
use with getKeyCode and isAlphaNumeric
0
649
posted 15 years ago by jlvallelonga
to use this function send in an ASCII character code (use my getKeyCode function)
it will return true if the code corresponds to a printable character (not backspace code - 8, enter code - 13, or "undefined")
0
635
posted 15 years ago by jlvallelonga