Skip to content

Instantly share code, notes, and snippets.

View jarrettmeyer's full-sized avatar

Jarrett Meyer jarrettmeyer

View GitHub Profile
// We are creating a new class definition. The class definition itself
// will be added to the global window object.
window.MultiSelect = (function() {
function MultiSelect(options) {
var defaults = {
checkboxSelector: ".multi-select-checkbox",
onSelector: ".multi-select-on",
selectAllSelector: "#multi-select-all"
};