title: jQuery append child nodes in for each
body: <p>In the below code I'm trying to loop through each child node and append the child to another element - what is the correct syntax inside the loop?</p>
  
  <pre><code>$(this).children().each(    
      $(div).appendChild(this.childNodes.length - 1);
  );
  </code></pre>