rem: var value = '', opt, index = element.selectedIndex; if (index >= 0) { opt = Element.extend(element.options[index]);  value = opt.hasAttribute('value') ? opt.value : opt.text; } return [element.name, value]; 
add: var index = element.selectedIndex; return index >= 0 ? this.optionValue(element.options[index]) : null; 
context:   selectOne: function(element) {    var value = '', opt, index = element.selectedIndex;    if (index >= 0) {      opt = Element.extend(element.options[index]);      // Uses the new potential extension if hasAttribute isn't native.      value = opt.hasAttribute('value') ? opt.value : opt.text;    }    return [element.name, value];  },
meta: 1371	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1371/53dfa93e53bccf5af1729cbdce88cb70e1ffcca5/prototype.js/clean/public/javascripts/prototype.js