jQuery remove options from select

Try this:

$(".ct option[value="X"]").each(function() {
    $(this).remove();
});

Or to be more terse, this will work just as well:

$(".ct option[value="X"]").remove();

Leave a Comment