SyntaxFix
Write A Post
Hire A Developer
Questions
selectElement.options[selectElement.selectedIndex].text;
References: