Skip to content

A jQuery plugin to mirror selections between sets of checkboxes

Notifications You must be signed in to change notification settings

jeffclark/checkmate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

checkmate: a jQuery plugin by Jeff Clark
http://www.vacantcanvas.com
Twitter: @ClarkleSparkle

checkmate mirrors checkbox selections between two sets of checkboxes.

Handy for use if you have input fields outside of the form (for whatever reason).

To use:
* Make sure jQuery + the checkmate plugin are loaded in your page
* Make sure that your "fake" inputs and your "real" inputs have the same "name" attribute
* give all of your "fake" inputs the same class. In this demo, I used "control"
* Add the checkmate() function to a clickhandler on your "fake" inputs

Check the demo file in the repo for an example.


About

A jQuery plugin to mirror selections between sets of checkboxes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published