title: changing dropdown option SELECTED dynamically
body: <p>I have this drop down </p>
  
  <pre><code>&lt;select class="dropdown"&gt;&lt;option value="0"&gt;Disabled&lt;/option&gt;&lt;option value="1"&gt;Enabled&lt;/option&gt;&lt;/select&gt;
  </code></pre>
  
  <p>In javascript using query or just plain javascript, I want to dynamically change the value of the select box to that of my div show. here is my div show</p>
  
   Enabled
  
  <p>so if this div is Enabled I should have selected in Enabled option. So the above drop down would be</p>
  
  <pre><code>&lt;select class="dropdown"&gt;&lt;option value="0"&gt;Disabled&lt;/option&gt;&lt;option value="1" selected&gt;Enabled&lt;/option&gt;&lt;/select&gt;
  </code></pre>
  
  <p>how would I do that? thanks</p>