select2 destroy
if ($('#mySelect2').hasClass("select2-hidden-accessible")) {
// Select2 has been initialized
$('#mySelect2').select2('destroy');
}
Also in JavaScript:
- string concat javascript
- update node mac to specific version
- jsconfig for default vue
- sort array of objects in ascending order in js
- how to paste in input field react native
- javascript form submit on button click check if required fields not empty
- js object destructuring with defaults
- hiding header in a specific screen in react native
- js generator
- how to delete a cookie in js
- js paste event
- javascript closure
- push values to state array class react
- js or operator
- react native keyboard event listener
- mysql json array contains
- submit ajax form validation jquery
- how to remove whitespace only from first position of string js
- sjson.Set query
- vue js on checkbox show div
- node js write read string to file
- how to swap two images in javascript
- javascript open pdf in new tab
- how to fetch the selected value of dropdown jquery