jQuery append an element more than once
<p>I'm currently trying to add n number of divs to the bottom of the body, however using this code: </p>

<pre><code>star = $('&lt;div class="star" /&gt;');

for(i=0; i&lt;12; i++) {
    $('body').append(star); 
}
</code></pre>

<p>results in just one div being appended to the bottom of the body. I'm guessing this is because the content of the body is not being refreshed between each iteration of the for loop, but can't figure out how to best to solve it.</p>
