sodakotahusker
asked on
Determining if Numlock on or Off
I'm doing keypress validations. I have found how to check for Shiftkey, alt key and ctrl key being pressed but now I need to allow users to use the numerical keypad. I have to know if the numlock is on or off when a key comes through. Can anyone tell me how to determinate that with javascript???
Thanks!!!
Thanks!!!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
you want to tell which '.' key they pressed?
what if they only have one?
or three?
what if they only have one?
or three?
ASKER
Oops. The decimal point on the keyboard returns 190. With numlock returns 110. Without numlock returns 46.
No issue here. Sorry for the false alarm.
Thanks for forcing me to recheck my original findings.
No issue here. Sorry for the false alarm.
Thanks for forcing me to recheck my original findings.
oh well...
still...
I think it is a valid point.
still...
I think it is a valid point.
would you be so kind as to share a little knowledge too?
what are you doing?
data entry?
game?
what are you doing?
data entry?
game?
ASKER