how to disable select code example
Example 1: jquery disable select
$('#pizza_kind').prop('disabled', false);
Example 2: disable other options in select except the selected
$("#lbCountries").click(function () {
$("#lbCountires option").each(function (index) {
if ($(this).is(':selected')) {
$(this).prop('disabled', false);
}
else {
$(this).prop('disabled', true);
}
});
});