how to go one level up in jquery if class is the same code example Example: select parent of element jquery $(this).parent(); // jquery