Removing a child div from a parent div in jquery
<p>I am trying to delete the child element in the dom from its parent using jquery.</p>

<p>Here is the code snippet.</p>

<pre><code>$('#delete').live('click' , function() {

    var strchild = m.split("/",2)[1];
    var c = group.children(strchild);
    c.remove();

});
</code></pre>

<p>strchild contains the id of the child element. group is the parent object. I am getting the right child element in the variable c. But the remove function fails.</p>

<p>Can some help me out here.</p>

<p>Thanks.</p>
