title: .selectpicker is not a function
body: <p>I'm trying to use <a href="http://silviomoreto.github.io/bootstrap-select/" rel="nofollow">bootstrap-select</a> and reference it from javascript, but I always get an error: <code>.selectpicker is not a function</code></p>
  
  <p>Everything I've read about this error says I have a dependency missing or not loaded at the right time, but I'm at a loss as to what I'm missing.</p>
  
  <p>Also, I get the same error when I try <code>$('.selectpicker').selectpicker();</code> from the console, which tells me that it's not an issue with my javascript running before everything's loaded.</p>
  
  <p>Here's the relevant portions of my page:</p>
  
  <pre><code>&lt;link href="/Content/bootstrap.css" rel="stylesheet"/&gt;
  &lt;link href="/Content/bootstrap-select.css" rel="stylesheet"/&gt;
  ...
  &lt;script src="/Scripts/jquery-2.2.3.js"&gt;&lt;/script&gt;
  &lt;script src="/Scripts/jquery.unobtrusive-ajax.js"&gt;&lt;/script&gt;
  
  &lt;script src="/Scripts/jquery.validate.js"&gt;&lt;/script&gt;
  &lt;script src="/Scripts/jquery.validate.unobtrusive.js"&gt;&lt;/script&gt;
  
  &lt;script src="/Scripts/bootstrap.js"&gt;&lt;/script&gt;
  &lt;script src="/Scripts/respond.js"&gt;&lt;/script&gt;
  
  &lt;script src="/Scripts/bootstrap-select.js"&gt;&lt;/script&gt;
  ...
  &lt;select class="selectpicker"&gt;
  &lt;/select&gt;
  ...
  &lt;script type="text/javascript"&gt;
      $(document).ready(function () {
          $('.selectpicker').selectpicker();
      });
  &lt;/script&gt;
  </code></pre>