web/lib/results.js
function getSelected() {
  var selected = [];
  $('.selectItem').each(function() {
    if ($(this).is(':checked')) {
      selected.push(utils.deEncID($(this).attr('name').replace('cb_', '')));
    }
  });
  return selected;
}
function getSelected() {
  var selected = [];
  $('.selectItem').each(function() {
    if ($(this).is(':checked')) {
      selected.push(utils.deEncID($(this).attr('name').replace('cb_', '')));
    }
  });
  return selected;
}
function getSelected ( ) { var selected = [ ] ; $ ( '.selectItem' ) . each ( function ( ) { if ( $ ( this ) . is ( ':checked' ) ) { selected . push ( utils . deEncID ( $ ( this ) . attr ( 'name' ) . replace ( 'cb_' , '' ) ) ) ; } } ) ; return selected ; }
return all items selected
return all items selected