Wrapped context doesn't work properly
<pre><code>var parent = $('&lt;div&gt;parent&lt;/div&gt;');
$('div').wrap(parent);

parent.append('&lt;div&gt;appended&lt;/div&gt;');
</code></pre>

<p>I am testing it with below html code and append method doesn't work  on parent object. Where i am doing mistake ?</p>

<pre><code>&lt;div&gt;child&lt;/div&gt;
</code></pre>

<p>Edit: Expected html result is</p>

<pre><code>&lt;div&gt;parent
&lt;div&gt;child&lt;/div&gt;
&lt;div&gt;appended&lt;/div&gt;
&lt;/div&gt;
</code></pre>
