get parent selector of element of id code example Example: select parent of elemt $(this).parent(); // jquery