Adding value from inputbox into combo box
<p>Using javascript, (no jQuery libraries)</p>

<p>What i'd like to do is when I type a value into the inputbox and I hit my enter key (in the textbox only) i'd like to have the value of the inputbox be added into the drop down box.</p>

<p>Note that if there is an existing value in the already in the drop down box, the next value should just be added below the existing value.</p>

<p>How do I set this up?</p>

<p>Here is the html setup:</p>

<pre><code>&lt;!DOCTYPE html&gt;

&lt;html&gt;

&lt;head&gt;

&lt;/head&gt;

&lt;body&gt;

&lt;input type="text" id="theinput" style="width: 100px;"&gt;

&lt;select id="thebox" style="width: 100px;"&gt;&lt;/select&gt;

&lt;/body&gt;

&lt;/html&gt;
</code></pre>
