jquery disable / enabled option code example
Example: 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