JSFiddle - React, Tailwind, and code Playground
by hamix
HTML
<select id="mySelect" multiple="multiple" width="50">
<option selected="true">item1</option>
</select>
Remove Item<input type="button" id="removeItem" value="click"/>
JavaScript
var removeSelected = new Function("select", "select.find('option:selected').remove()");
$('#removeItem').click(function() {
$('option:selected', mySelect).remove();
//removeSelected($("#mySelect"));
});