Answers for "not disabled selected value jquery"

1

jquery disable option by value

$("select option:contains('Value b')").attr("disabled","disabled");
Posted by: Guest on September-29-2021
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 "not disabled selected value jquery"

Code answers related to "Javascript"

Browse Popular Code Answers by Language