Notes Homepage Notes How to delete first parent DIV with given CSS-class (.myclass) with jQuery $(this).parents('div.myclass:eq(0)').remove();