title: Uncaught TypeError: $(...).select2 is not a function
body: <p>I download the select2 package and include the two files select2.min.css and select2.min.js into my laravel public file, select2.min.css into public/css folder and select2.min.js into public/js folder  And I want to do a multiple select on my page. Here is my "select" like:</p>
  
  <pre><code> &lt;select class="form-control js-example-basic-multiple" name="tags"         
       multiple="multiple"&gt; 
      @foreach($tags as $tag)
         &lt;option value='{{ $tag-&gt;id }}'&gt;{{ $tag-&gt;name }}&lt;/option&gt;
      @endforeach
   &lt;/select&gt;*
  </code></pre>
  
  <p>And this is my <code>&lt;script&gt;</code> section:</p>
  
  <pre><code>&lt;script  src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"&gt;&lt;/script&gt;
  &lt;script src="{{ URL::to('js/select2.min.js') }}"&gt;&lt;/script&gt;&lt;/script&gt;
  &lt;script&gt;
          $(document).ready(function(){
              $(".js-example-basic-multiple").select2();
          });
  &lt;/script&gt;
  </code></pre>
  
  <p>I don't know the multiple select is not working and browser always show "Uncaught TypeError: $(...).select2 is not a function"</p>
  
  <p>Has everyone met this problem before?</p>