Skip to main content
2 of 7
added 1 characters in body
Frédéric Hamidi
  • 263.8k
  • 42
  • 497
  • 486

You have to inject the value of current into an Attribute Equals selector:

$("ul").find("[data-slide='" + current + "']"); 
Frédéric Hamidi
  • 263.8k
  • 42
  • 497
  • 486