Answers for "check if an option is present or not"

2

jquery find if select option exists

$("#yourSelect option[value='yourValue']").length > 0;
Posted by: Guest on June-16-2020

Code answers related to "check if an option is present or not"

Code answers related to "Javascript"

Browse Popular Code Answers by Language