find upper list li using this parent code example Example: select parent of element jquery $(this).parent(); // jquery