Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jquery.capsChecker

jquery.capsChecker is a jQuery plugin to check whether caps lock is turned on. It is the only plugin of its kind, which can recognize caps lock on numbers. That's important for users with standard German keyboard layout.

Usage

Quickstart:

$('#txtTest').capsChecker({
	capson: function(e, isOn) {
		// ...
	},
	capsoff: function(e, isOn) {
		// ...
	}
});

Both options are optional and false by default.

Manual binding of handlers

$('#txtTest').capsChecker();

$('#txtTest').on('capson', function(e, isOn) {
	//...
});

$('#txtTest').on('capsoff', function(e, isOn) {
	//...
});

Removing a capsChecker from the input field

$('#txtTest').capsChecker('destroy');

About

A jQuery plugin to check whether caps lock is turned on.

Resources

Stars

10 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages