SyntaxFix
Write A Post
Hire A Developer
Questions
Use
document.getElementById("select_id").selectedIndex
Or to get the value:
document.getElementById("select_id").value