how to remove options in select jquery code example
Example 1: remove all options from select jquery
$('#mySelect')
.empty()
Example 2: jquery remove option from dropdown
<script>
$( ".dropdown" ).change(function() {
dropdownval = $( ".dropdown" ).val();
$(".dropdown option[value='dropdownval']").remove();
});
</script>