How to position jQuery Output?
<p>I have the following that produces a drop down using a JSON file:</p>

<pre><code>&lt;script type="text/javascript"&gt;
  $.getJSON('shares.json', function(data) {
  var items = [];

  $.each(data.Destinations, function(key, val) {
  items.push('&lt;option id="' + val.shareName + '"&gt;' + val.shareName+ '&lt;/option&gt;');
  });

  $('&lt;select/&gt;', {
    'class': 'my-new-list',
    html: items.join('')
  }).appendTo('body');
});
&lt;/script&gt;
</code></pre>

<p>I can't position this drop down as I would usually, how can I tell it to go to a div for example?  I suppose the appendTo('body') is simply adding it to the end of my HTML but how do you change it?</p>

<p>Thanks!</p>
