SyntaxFix
Write A Post
Hire A Developer
Questions
use
$("#mySelectBox option:selected");
to test if its a particular option myoption:
myoption
if($("#mySelectBox option:selected").text() == myoption){ //... }