[JS] Check select2 jquery plugin loaded or not
THIS SITE IS MIRROR || Skip to Full Contents (Read More)
[JS] Check select2 jquery plugin loaded or not - Example How to change select2 jQuery plugin using jQuery.val Read How to async defer CSS JS perfectly
if (jQuery.fn.select2) { //jquery select2 loaded or not false or not undefined => return array
jQuery.fn.select2.defaults.set( “theme”, “bootstrap” ); //then
THIS SITE IS MIRROR || Skip to Full Contents (Read More)
All articles in this blog are licensed under CC BY-NC-SA 4.0 unless stating additionally.