SyntaxFix
Write A Post
Hire A Developer
Questions
Does not work, you have to do this:
if ( $("#your_select_id option[value='enter_value_here']").length == 0 ){ alert("option doesn't exist!"); }