title: Bootstrap Select - Set selected value by text
body: <p>How can I change the drop down if I only know the text and not the value?</p>
  
  <p>Here is my select - </p>
  
  <pre><code> &lt;select id="app_id" class="selectpicker"&gt;
         &lt;option value=""&gt;--Select--&lt;/option&gt;
         &lt;option value="1"&gt;Application 1&lt;/option&gt;
         &lt;option value="2"&gt;Application 2&lt;/option&gt;
   &lt;/select&gt;
  </code></pre>