Answers for "jquery select option value id no not exists"

2

jquery select option value id no not exists

if ( $("#your_select_id option[value='enter_value_here']").length == 0 ){
  alert("option doesn't exist!");
}
Posted by: Guest on March-29-2022

Code answers related to "jquery select option value id no not exists"

Code answers related to "Javascript"

Browse Popular Code Answers by Language