get parent jq code example
Example 1: jquery get the parent node
$(selector).parent(filter)
Example 2: jquery dom traversal parent
$( "li.item-a" ).parent().css( "background-color", "red" );
$(selector).parent(filter)
$( "li.item-a" ).parent().css( "background-color", "red" );