Removing an element permanently in jQuery
<p>when I append an element and afterwards remove it the object still exists?</p>

<pre><code>bg = $('&lt;div class="dialog_bg"&gt;&lt;/div&gt;');
$('#'+elm).append(bg);

bg.remove();
</code></pre>

<p>how is that? isn't it possible to remove the element permanently?</p>
