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
in case you don't want to type all that, here's a shorter way to query by data attribute:
$("ul[data-slide='" + current +"']");
FYI: http://james.padolsey.com/javascript/a-better-data-selector-for-jquery/