JSFiddle - React, Tailwind, and code Playground
by k4emic
HTML
<select>
<option>Foo</option>
<option>Bar</option>
<option>No, not really</option>
</select>
<button>Untouchable!</button>
JavaScript
$('button').click(function() {
var option = $('<option />');
option.attr('disabled', true);
option.html('Can\'t touch this!');
$('select').append(option);
$(this).html('Check the select element.');
});