.append JQuery whilst declaring a variable
<p>Basically i tried this:</p>

<pre><code>var newDiv = $('#parentDiv').append("&lt;div id=\""+user_name+"\" div class=\"user_head\"&gt;"+"&lt;/div&gt;");
</code></pre>

<p>But when I try to append to the newDiv, it appends to the #parentDiv.</p>

<p>How can i declare a variable for the new DIV created from append?</p>
