how to know all the parents of a jquery element code example Example: select parent of elemt $(this).parent(); // jquery