JSFiddle - React, Tailwind, and code Playground
HTML
<select>
<option>foo</option>
<option>bar</option>
</select>
<button class="enableSelects">test</button>
JavaScript
$('.enableSelects').click(function(){
$('select').prop('disabled', function (idx, current) {
return !current;
});
});