Possible Duplicate:
How do you tell if caps lock is on using JavaScript?
In a web form, is there any way to tell if the caps lock is on ?
I suppose I could check do a check onChange
to see if all the characters are upper case. But is there a more direct way to do this?
Specifically, I am looking to implement a YOUR CAPS LOCK IS ON message when they enter the password field, similar to how the windows login screen does .