online/src/js/dropdowns.js
function getCheckedAndUnchecked (checkboxes) {
  var checked = [], unchecked = [];
  for (var i = 0; i < arguments.length; i++) {
    var checkbox = arguments[i];
    if (checkbox.is(":checked")) {
      checked.push(checkbox.data("value"));
    }
    else {
      unchecked.push(checkbox.data("value"));
    }
  }
  return { checked: checked, unchecked: unchecked };
}
function getCheckedAndUnchecked (checkboxes) {
  var checked = [], unchecked = [];
  for (var i = 0; i < arguments.length; i++) {
    var checkbox = arguments[i];
    if (checkbox.is(":checked")) {
      checked.push(checkbox.data("value"));
    }
    else {
      unchecked.push(checkbox.data("value"));
    }
  }
  return { checked: checked, unchecked: unchecked };
}
function getCheckedAndUnchecked ( checkboxes ) { var checked = [ ] , unchecked = [ ] ; for ( var i = 0 ; i < arguments . length ; i ++ ) { var checkbox = arguments [ i ] ; if ( checkbox . is ( ":checked" ) ) { checked . push ( checkbox . data ( "value" ) ) ; } else { unchecked . push ( checkbox . data ( "value" ) ) ; } } return { checked : checked , unchecked : unchecked } ; }
Examines the given checkboxes, and returns arrays of checked and unchecked values.

@param {...jQuery} checkboxes
@returns {{checked: string[], unchecked: string[]}}
Examines the given checkboxes and returns arrays of checked and unchecked values .