SyntaxFix
Write A Post
Hire A Developer
Questions
Did you supply your select-element with an id?
<select id='dropDownId'> ...
Your first statement should work!