How to remove select2 from dom
You need to use destroy
method on select2. See the Documentation
i.e
$("#e1").select2('destroy');
Version 4.0
$element.data('select2').destroy();
That work for me!
var $select = $('.select2').select2();
//console.log($select);
$select.each(function(i,item){
//console.log(item);
$(item).select2("destroy");
});