How can I check whether a option already exist in select by JQuery

This evaluates to true if it already exists:

$("#yourSelect option[value="yourValue"]").length > 0;

Leave a Comment