Javascript CapsLock check

Ever need to check the status of the CapsLock key for a form? Don't want a user to accidentally enter their password with the CapsLock key on and get frustrated when it doesn't work.

I wrote a quick mockup to show an alert on a form when the capslock key is turned on when entering form data.

Note: Replies will be formatted with PHP Markdown Extra syntax.

Name: Email (Not Required):
Logged IP:
To prevent spam please submit by clicking the kitten: