jquery using find() without a parent code example
Example 1: jquery closest
$( "li.item-a" )
.closest( "ul" )
.css( "background-color", "red" );
Example 2: select parent of element jquery
$(this).parent(); // jquery
$( "li.item-a" )
.closest( "ul" )
.css( "background-color", "red" );
$(this).parent(); // jquery