title: jQuery - can I dynamically change an elements parent? A a new element and make it the parent of a selection?
body: <p>I have a div #someDiv, can I create a new element and make #someDiv be its child? Basically I want to wrap a new element aound #someDiv. How do I do this?</p>
  
  <pre><code>$("#someDiv").appendTo($("&lt;div id='newParent'&gt;&lt;/div&gt;")); 
  // The intent is to move #someDiv into the new container
  // The new container may or may not be in the same 
  // position in the DOM as #someDiv
  </code></pre>
  
  <p>Thanks for any tips!</p>
  
  <p>Cheers,
  ~ck in San Diego</p>