UI Deploy

Curated, Short, Web UI Dev we Love.

Detecting the caps lock key in JavaScript

The ability to detect the caps lock key can improve the usability of web applications — for example, a visitor entering a password could be warned if they have caps lock turned on. Unfortunately JavaScript has no mechanism to query whether caps lock is currently on or off.

view source

Advertisement