Код: Выделить всё
function getComboA(sel) {
var value = sel.options[sel.selectedIndex].value;
}
Select combo
Text1
Text2
Text3
Код: Выделить всё
productLineSelect.addEventListener('change',getSelection(this),false);
function getSelection(sel){
var value = sel.options[sel.selectedIndex].value;
alert(value);
}
есть идея?>
Подробнее здесь: https://stackoverflow.com/questions/120 ... ntlistener