Answers for "select2 remove"

0

select2 destroy

if ($('#mySelect2').hasClass("select2-hidden-accessible")) {
    // Select2 has been initialized
    $('#mySelect2').select2('destroy');
}
Posted by: Guest on May-27-2020
0

select2 remove selected value

$("#dynamicAttributes").val(null).trigger("change");
Posted by: Guest on August-05-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language