remove selected option jquery code example
Example 1: jquery remove option from select by value
$("#FIELDID option[value='X']").remove();
Example 2: jquery remove option from dropdown
<script>
$( ".dropdown" ).change(function() {
dropdownval = $( ".dropdown" ).val();
$(".dropdown option[value='dropdownval']").remove();
});
</script>
Example 3: select remove option jquery
$('.ct option').each(function() {
if ( $(this).val() == 'X' ) {
$(this).remove();
}
});