<script> function StatusSelect(o){ var id = o.options[o.selectedIndex].id; alert(id); }; </script> <select size=1 onChange='StatusSelect(this);' > <option id='yes'>Да</option> <option id='no'>Нет</option> </select>