[Solved] select2 is not working
This runs fine if you have imported correctly – jQuery library, select2 js and select2 css. Here I have imported jquery 2.0.0 and select2 css and js from their cdn and it works fine: $(“.js-example-basic-multiple”).select2(); <script src=”https://ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js”></script> <link href=”https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.3/css/select2.min.css” rel=”stylesheet” /> <script src=”https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.3/js/select2.min.js”></script> <form action=””> <select class=”js-example-basic-multiple” multiple=”multiple”> <option value=”AK”>Alaska</option> <option value=”HI”>Hawaii</option> <option value=”CA”>California</option> <option … Read more