rem: var value = ''; if (element.type == 'select-one') { var index = element.selectedIndex; if (index >= 0) value = element.options[index].value || element.options[index].text; } else { value = new Array(); for (var i = 0; i < element.length; i++) { var opt = element.options[i]; if (opt.selected) value.push(opt.value || opt.text); } } return [element.name, value]; } 
add: return Form.Element.Serializers[element.type == 'select-one' ? 'selectOne' : 'selectMany'](element); }, 
context:   select: function(element) {    var value = '';    if (element.type == 'select-one') {      var index = element.selectedIndex;      if (index >= 0)        value = element.options[index].value || element.options[index].text;    } else {      value = new Array();      for (var i = 0; i < element.length; i++) {        var opt = element.options[i];        if (opt.selected)          value.push(opt.value || opt.text);      }    }    return [element.name, value];  }
meta: 2355	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2355/9867ca01ad65827d23c0bf6cc14d8a64137e927d/prototype.js/clean/tracks/public/javascripts/prototype.js