Skip to content

A super simple jquery plugin to select checkboxes / radio input using configurable keyboards shortcuts

Notifications You must be signed in to change notification settings

dr-r3d/jquery.select-with-keys

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

jquery.select-with-keys

This jquery plugin can create keybaord shortcuts to select a checkout/radio inputs in a sequence.

Usage

Dead Simple!! Call it inputKeyPress() on the container element that wraps yout checkbox/radio inputs. By default 4 keys a,b,c,d are binded to select 1st, 2nd, 3rd and 4th radio input.

$('#answers').inputKeyPress();

To bind to checkbox inputs:

$('#answers').inputKeyPress({type: 'checkbox'});

To use a different set of keys:

$('#answers').inputKeyPress({keys: [keycode1, keycode2, ... keycoden]});

About

A super simple jquery plugin to select checkboxes / radio input using configurable keyboards shortcuts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published