Detecting Caps lock Icon

Detecting Caps lock

As a small usability touch, basically alerting users that caps lock is enabled

Detecting Caps lockOverview

I wanted to see if you could Detect caps lock in JavaScript. Why? As a small usability touch, basically alerting users that caps lock is enabled when they are entering passwords for example. I’ve wrapped up the Logic in a simple function that can help you detect Caps Lock On a key press. Here is the demo and following is the function followed by a simple usage.

NEW

Fixed some bugs.

Detecting Caps lockInformation

Version
N/A
Date
02.22.10
License
Language
English
File Size
N/A
Category
SubCategory
Operating Systems
Windows ,Linux,Mac OS,BSD,Solaris
System Requirements
No additional system requirements.
Analysing PHP Objects and Classes Icon
Due to the dynamic nature of P`HP as a programming language
Singleton Design Pattern Icon
The singleton design pattern is way of enforcing only one instance of an objecT.
More
Text Fader Icon
Be used when you want to generate a text fading effect for your web pages
Free
mxGraph Icon
mxGraph is a library that uses built-in browser capabilitie
Free
Bookmark Us Script Icon
This script is used when you need to display "bookmark us" link
Free
Gazza's Geodetic Calculator Icon
Gazza's Geodetics Calculator For Transverse Mercator Projections
Free
dhtmlxGrid Icon
dhtmlxGrid is an Ajax-enabled JavaScript grid control with cutting-edge
Free
Accordion Menu Icon
Creating an Accordion Menu is trivial using Accordion Content script
Free
12/24 hour format clock Icon
This script can display the time in the 12 hour or 24 hour format
Free
Free Rich Text Editor Icon
An extremely easy to use FREE javascript based HTML WYSIWYG editor for your web.
Free
More