Answers for "jquery disable select option if equals"

3

jquery disable select

$('#pizza_kind').prop('disabled', false);
Posted by: Guest on May-29-2020
1

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
Posted by: Guest on April-20-2021

Code answers related to "jquery disable select option if equals"

Code answers related to "Javascript"

Browse Popular Code Answers by Language