Skip to content

vanderlee/checkboxrange

Repository files navigation

jQuery Checkboxrange

Version 1.0.0

Copyright © 2013-2018 Martijn van der Lee. MIT Open Source license applies.

jQuery checkboxrange lets you select one or more checkboxes grouped together in a DOM element (or other selector-defineable range, such as matching class) using the shift and

Download

jQuery v1.2.0 or higher required. (So pretty much any version you might have).

Current version: https://github.com/vanderlee/checkboxrange/archive/master.zip

Sourcecode on Github: https://github.com/vanderlee/checkboxrange

Usage

Apply .checkboxrange() to any selector of checkboxes or a DOM element containing the of checkboxes.

Click on a checkbox at the start of the range, press and hold the shift key and click on the last checkbox of the range to switch. All checkboxes inbetween will be set to state you changed the last checkbox to.

To flip the state all checkboxes, hold the alt key instead.

This plugin has no options, events or methods.

About

jQuery plugin to make it easy to add click-shift+click range selection to checkboxes.

Resources

Stars

Watchers

Forks

Packages

No packages published