title: How to add Drop-Down list (<select>) programmatically?
body: <p>I want to create a function in order to programmatically add some elements on a page. </p>
  
  <p>Lets say I want to add a drop-down list with four options:</p>
  
  <pre><code>&lt;select name="drop1" id="Select1"&gt;
    &lt;option value="volvo"&gt;Volvo&lt;/option&gt;
    &lt;option value="saab"&gt;Saab&lt;/option&gt;
    &lt;option value="mercedes"&gt;Mercedes&lt;/option&gt;
    &lt;option value="audi"&gt;Audi&lt;/option&gt;
  &lt;/select&gt;
  </code></pre>
  
  <p>How can I do that?</p>