title: Jquery Moving SelectBox with Append() or html() or text()
body: <p>I have a selectbox under a hidden div, I did a function that when I click in some place the select box appears with the correct option, but it doesn't render well, the control don't work properly, this is the code:</p>
  
  <pre><code>$(function () {
      $('.NewDiv').click(function () {
          $(this).append($('#MySelectBox'));
          $('#MySelectBox').val($(this).attr('value'));
      });
  });
  
  &lt;select id="MySelectBox&gt;
      &lt;option...
  &lt;/select&gt;
  </code></pre>
  
  <p>I tried with append, html and text, all of them render the select box but it doesn't work properly proved on Chrome and Firefox.</p>
  
  <p>Thanks!</p>