Answers for "how to remove option from dropdown using jquery"

1

select remove option jquery

$('.ct option').each(function() {
    if ( $(this).val() == 'X' ) {
        $(this).remove();
    }
});
Posted by: Guest on April-21-2021

Code answers related to "how to remove option from dropdown using jquery"

Code answers related to "Javascript"

Browse Popular Code Answers by Language