code: function checkboxVal( name ) {
    log( "Pong-Form", "checkboxVal: "+name);
    var result = '[';
    var first = true;
    for ( var i = 0; i < checkboxVals.length; i++ ) {
      if ( checkboxVals[i].name == name  ) {
        if ( $( "#"+checkboxVals[i].id ).is(':checked') ) {
          if ( ! first ) { result += ','; }
          result += "'"+checkboxVals[i].val+"'";
          log( "Pong-Form", " val= "+checkboxVals[i].val);
  
          first = false;
        }
      }
    }
    result += ']';
    return result;
  }
docs: select checkbox vals for GET/POST/...