Answers for "auto select and disable menu item from select field based on condition"

2

disable option dropdown jquery

//disable by value
$("#ddlList option[value='jquery']").attr("disabled","disabled");

//disable by text
$('#ddlList option:contains("HTML")').attr("disabled","disabled");
Posted by: Guest on January-20-2021
1

how to disable css-select select box

.nav-tab-dropdown .cs-select .cs-placeholder {
  pointer-events: none;
}
Posted by: Guest on March-29-2022

Code answers related to "auto select and disable menu item from select field based on condition"

Code answers related to "Javascript"

Browse Popular Code Answers by Language