SyntaxFix
Write A Post
Hire A Developer
Questions
Another way using jQuery:
var exists = false; $('#yourSelect option').each(function(){ if (this.value == yourValue) { exists = true; } });