Opposite of append in jquery
<p>I use <code>.append</code> to add to a div </p>

<pre><code>$(this).append('&lt;ul&gt;&lt;li&gt;test&lt;/li&gt;&lt;/ul&gt;');
</code></pre>

<p>how can I search fo a <code>&lt;ul&gt;</code> and remove it if it exists in the children of <code>$(this)</code>?</p>
