I\'ve got the following scenario:
var el = \'li\';
and there are 5 \'s on the page each with a data-slide=numb
data-slide=numb
document.querySelectorAll(`[data-slide='${current}']`);
I know the question is about JQuery, but readers may want a pure JS method.