SyntaxFix
Write A Post
Hire A Developer
Questions
If you don't want Jquery (and can use ES6)
for (const option of document.getElementById('mySelect')) { console.log(option); }