JSFiddle - React, Tailwind, and code Playground
by Dygerati
HTML
<select>
<option value="123">test</option>
</select>
JavaScript
var select = $('select'),
opts = $();
console.log(opts.length);
opts.add($('<option />', {
value: 456,
text: 'testagain'
}));
console.log(opts.length);
select.html(opts);