showing results for - "select2 destroy"
Luca
17 Jun 2017
1if ($('#mySelect2').hasClass("select2-hidden-accessible")) {
2    // Select2 has been initialized
3    $('#mySelect2').select2('destroy');
4}
queries leading to this page
remove from select 2unselect select2select2 event destroyselect2 eliminate dataselect2 remove preselectedselect2 select2 search choice closebootstrap method 3dget dropdown javascript select2 redirecthow to destroy select2select2 remove 22 22destroy method select2select2 destroy and make newselect2 destroy and reinit allselect2 close on selectselect2 opendelete on select select2select2 data toggleselect2 destroyselect2 28 27destroy 27 29select2 cancelselect2 unbinds ajaxcompletehow to destroy select2 dropdown get select2 hidden accessible value optionsselect2 optionsselect2 destroy allselect2 jquery destroyselect2 check destroy and reinitializejavascript open select2create select2 when detroyselect2 destroy and clearkill select2select2 choice closeselect 2 openselect2 destroys ajaxcomplete eventchosen keep dropdown open on destroyselect2 destroy with adpterdestroy select2select2 destroy all from formopen select2 from javascriptselect2 uninitializejs select2 methodsselect2 removeremove select2select 2 open at bottomselect2 hidden accessibleselect2 4 1 destroydestroy instance select2select2 remove destroybind select2 on classhow to use destroy in select2 select2 is destroy after new select2 assigndestroy select2 in jqueryselect2 destroy and recreatebind api to select 2 jqueryauto select2 hidden accessibleselect2 delete 24 28 22select 22 29 select2 28 22destroy 22 29 3bselect2 unselectselect2 selection select2 selection single hiddenjavascript destroy all select2select2 click close eventesselect2 bind 28 29select2 complete methodselect2 methodsselect2 bind 28 29select2 how to open selectselect2 is called whatselect2 search getting removed when new select2select 2 destroyselect2 js close after binding data dynamicallyhtml select2 methodsdestroy and make new select2 jsselect2 delete selectionselect 2 done methodselect2 automatically adding select2 hidden accessibleselect2 destroy and clearemove select2 from select jqueryselect2 destroy