how to get the nearest data-target value in jquery code example
Example: jquery closest
$( "li.item-a" )
.closest( "ul" )
.css( "background-color", "red" );
$( "li.item-a" )
.closest( "ul" )
.css( "background-color", "red" );