title: default value on dropdown from database
body: <p>I want to show default values on my dropdown from a database table.</p>
  <p>This is my html 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-html lang-html prettyprint-override"><code>&lt;div class="POScounter"&gt;
    &lt;div class="form-group counter"&gt;
      &lt;label&gt;Counter :&lt;/label&gt;
      &lt;select class="form-control" id="CounterDropdown"&gt;&lt;/select&gt;
  
    &lt;/div&gt;
    &lt;div class="form-group pricing"&gt;
      &lt;label&gt;Pricing Level :&lt;/label&gt;
      &lt;select class="form-control" id="PricingLevelDropdown"&gt;&lt;/select&gt;
    &lt;/div&gt;
    &lt;div class="form-group pricing"&gt;
      &lt;label&gt;Mode:&lt;/label&gt;
      &lt;select class="form-control" id="Modedropdown"&gt;&lt;/select&gt;
    &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  <p>These are the values in my table:</p>
  <pre><code>Id  |SettingName |  settingNamevalue
  1   |mode        |  cash
  2   |PricingLevel|  test1
  3   |Counter     |  counter1
  </code></pre>