$(this).parents("div.accordion").fadeOut('slow').remove();
where div.accordion is what you're trying to remove. Hundredth Monkey wrote:
hi, i want to realize a delete button or link within an accordion item. is it possible to remove a special item or make the header disabled after a link click within the accordion item content? so far i' ve tried $(this).parent().fadeOut('slow'); but this kills all item contents :O( best regards.