title: How to focus bootstrap select picker
body: <p>I've use data-live-search for searchable option. When I click on focus button it should focus again select. I've use following code</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>$("#focus").click(function() {
    $(".selectpicker").focus();
  });</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"&gt;
  &lt;link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.12.1/css/bootstrap-select.css" /&gt;
  &lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"&gt;&lt;/script&gt;
  &lt;script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"&gt;&lt;/script&gt;
  &lt;script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.12.1/js/bootstrap-select.js"&gt;&lt;/script&gt;
  
  &lt;select data-live-search="true" data-live-search-style="startsWith" class="selectpicker"&gt;
    &lt;option value="4444"&gt;4444&lt;/option&gt;
    &lt;option value="Fedex"&gt;Fedex&lt;/option&gt;
    &lt;option value="Elite"&gt;Elite&lt;/option&gt;
    &lt;option value="Interp"&gt;Interp&lt;/option&gt;
    &lt;option value="Test"&gt;Test&lt;/option&gt;
  &lt;/select&gt;
  &lt;button id="focus"&gt;focus&lt;/button&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>Whenever I press enter t is focus to select box but search option is not shown. I've attach <a href="https://i.stack.imgur.com/KpsaU.png" rel="nofollow noreferrer">screenshot</a>
  Please give me suggestion for display proper option with search option when I enter it</p>