how to detect parent in list code example
Example 1: select parent of element jquery
$(this).parent(); // jquery
Example 2: jquery get the parent node
$(selector).parent(filter)
$(this).parent(); // jquery
$(selector).parent(filter)