jQuery: how to return the appended element
<p>I use jQuery API <code>append()</code> to add a new element:</p>

<p><code>$(selector).append('&lt;div class="test"&gt;&lt;/div&gt;')</code></p>

<p>I want the expression return the just appended element for my further use, however it returns <code>$(selector)</code>. So, how can I let jQuery to return the just appended element to avoid re-selecting it?</p>
