access parent of element jquery code example
Example 1: select parent of element jquery
$(this).parent(); // jquery
Example 2: jquery dom traversal parent
$( "li.item-a" ).parent().css( "background-color", "red" );
$(this).parent(); // jquery
$( "li.item-a" ).parent().css( "background-color", "red" );