var x = 'foo';
var exists = 0 != $('#select-box option[value=" + x + "]').length;
Created
September 15, 2015 13:00
-
-
Save brenopolanski/a1e6103a927d41a65e06 to your computer and use it in GitHub Desktop.
Check if value is in select list with JQuery
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment