hide nearest class inside a div jquery code example Example: select parent of element jquery $(this).parent(); // jquery