Answers for "remove option value in jquery"

5

jquery remove option from select by value

$("#FIELDID option[value='X']").remove();
Posted by: Guest on February-27-2020
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 "remove option value in jquery"

Code answers related to "Javascript"

Browse Popular Code Answers by Language