how to find the closest child element in jquery code example
Example: jquery find parent closest by id child
$( "li.item-a" )
.closest( "ul" )
.css( "background-color", "red" );
$( "li.item-a" )
.closest( "ul" )
.css( "background-color", "red" );