themactep.com

A home of miscellaneous projects by Paul Philippov.

Notes

How to delete first parent DIV with given CSS-class (.myclass) with jQuery

$(this).parents('div.myclass:eq(0)').remove();