Home - nosilleg/capslockstate-jquery-plugin GitHub Wiki

The capslockstate jQuery plugin monitors the state of the Caps Lock key. With this plugin you can easily add "caps lock notifications" for password input fields without having to worry about tracking the Caps Lock state yourself, or being limited to the design choices of other plugins.

Benefits

capslockstate provides several benefits over other methods of tracking the Cap Lock key state.

  • Separates the monitoring code from the presentation code of any notifications.
  • Works with non-English keyboards.
  • Monitors the use of the Caps Lock key itself.
  • Doesn't forget the state if a non alpha character is typed.

Getting started