Ver originalif(document.getElementById("selectID").value=='elvalorquevosquieras') { ... }
<select id="selectID" ....>....</select>