document.getElementById("select").options[document.getElementById("select").options.selectedIndex].value