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
Free Rich Text Editor Icon
An extremely easy to use FREE javascript based HTML WYSIWYG editor for your web.
Free
Splash Page Script Icon
A splash page is an interlude page that is shown temporarily before the intended
Free
JavaScript Diagram Builder Icon
JavaScript Diagram Builder library of some objects and functions
Free
Cricket Average Calculator Icon
Cricket Average Calculator you can find the amount of runs you have made
Free
DHTML Scrolling Image Viewer Icon
Embeds an image viewer requiring NO code changes to the webpage
Free
On Screen Keyboard Icon
Simply click inside the window below, use your cursor to highlight the script
Free
Free META Tag Generator Icon
A free META Tag Generator that you can place on your web site
Free
Capture Mouse X-Y Position Icon
Capture Mouse X-Y Position can shows the mouse coordinates in pixels
Free
More