JSFiddle - React, Tailwind, and code Playground
HTML
<select>
<option>select job</option>
<option>foo</option>
</selecT>
<select>
<option>select job</option>
<option>foo</option>
</selecT>
<select>
<option>select job</option>
<option>foo</option>
</selecT>
JavaScript
//$("select").slice(1).prop("disabled", true);
$("select").change(function() {
if ($(this).val() !== "select job") {
$(this).next("select").prop("disabled", false);
} else {
if(!$(this).index() === 0)
$(this).prop("disabled", true);
$(this).next("select").prop("disabled", true);
}
});