does template element affects parent div code example Example: select parent of elemt $(this).parent(); // jquery