Answers for "jquery remove options from dropdown that contain"

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 "jquery remove options from dropdown that contain"

Code answers related to "Javascript"

Browse Popular Code Answers by Language