Remove element with JQuery
<p>I'm currently using the following code to append a X link to each element on rollover. </p>

<pre><code>$(".item").hover(function() {
    var id = $(this).attr("id");

    var roll = $('&lt;a class="close" href="#"&gt;X&lt;/a&gt;').hide();

    roll.prependTo($(this)).fadeIn(0);
}, function() {
    $(this).find("a:first").fadeOut(0, function() {
     $(this).remove()
    });
});
</code></pre>

<p>What I am unable to code up is the ability for when this X link is pressed, it removes the parent div it is currently in.</p>

<p>Would love help on this :)</p>
