I want to delete an DOM element right after fading out. What I did so far is
$(element).click(function() { $(this).fadeOut(500, function() { $().remove(this)
why messing here just use $('#anydiv').remove();