Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

select2 destroy

if ($('#mySelect2').hasClass("select2-hidden-accessible")) {
    // Select2 has been initialized
    $('#mySelect2').select2('destroy');
}
Source by select2.org #
 
PREVIOUS NEXT
Tagged: #destroy
ADD COMMENT
Topic
Name
7+9 =