title: How to select dropdown by inserting value in the text box
body: <p>Hello i have a dropdown which is fetching data from a database. Forget about the database, i have a text box in front of the dropdown select. The logic is if i type in the text the value should be selected automatically from the dropdown if the value typed in the text not matched with the values in the dropdown, then the user can select the dropdown. Any help would be much appreciated. </p>
  
  <p>Here is my html code!</p>
  
  <pre><code>&lt;div class="form-group"&gt;
                  &lt;label class="col-sm-4 control-label"&gt;Scheme**&lt;/label&gt;
                  &lt;div class="col-sm-4"&gt;
                      &lt;select class="form-control" name="scheme" id="scheme"&gt;
                          &lt;?php
                          for ($column = 'A'; $column &lt;= $lastcol; $column++) {
                              echo '&lt;option value="' . $column . '"&gt;' . $worksheet-&gt;getCell($column . '1')-&gt;getValue() . '&lt;/option&gt;';
                          }
                          ?&gt;
                      &lt;/select&gt;
                  &lt;/div&gt;
                  &lt;div class="col-sm-4"&gt;
                      &lt;input type="text" class="form-control" id="txt_scheme" name="txt_scheme" placeholder="Or Type here"&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
  </code></pre>
  
  <p>In dropdown i m getting these values</p>
  
  <pre><code>QC code 
  Analyte 
  Assay Value 
  Assigned Value  
  STANDARDDEVIATION   
  ACCEPTABLEMIN   
  ACCEPTABLEMAX   
  Sample ID   
  Date
  </code></pre>