select jquery option disabled code example
Example 1: jquery disable select
$('#pizza_kind').prop('disabled', false);
Example 2: jquery option not disabled
const opt = $('#select option:not(:disabled)'); // array with all options not disabled
const first = $($('#select option:not(:disabled)')[0]); // first option not disabled