how to find the element has same value for particular attribute in jquery code example
Example 1: find element with data attribute jquery
$("ul").find(`[data-slide='${current}']`)
Example 2: custom attribute jquery selector
$("ul[data-group='Companies'] li[data-company='Microsoft']") //Get all elements with data-company="Microsoft" below "Companies"
$("ul[data-group='Companies'] li:not([data-company='Microsoft'])") //get all elements with data-company!="Microsoft" below "Companies"