How to add an option from a drop down menu into a select box?
<p>I have a jquery code below where an option which has been selected from a drop down menu is removed from the drop down menu:</p>

<pre><code>            var selectedOption = jQuery("#modulesDrop option:selected");
            selectedOption.remove();
</code></pre>

<p>But before I perform the remove, I want to add the content from the drop down menu into a select box, but the problem is that I don't seem to know how to do this. I tried the code below but all that did was remove the option from the drop down menu as above and did not add the option into the select box:</p>

<pre><code>        var selectedOption = jQuery("#modulesDrop option:selected");
        selectedOption.appendTo("#moduleExistForm");
        selectedOption.remove();
</code></pre>
