Currently I have my slider setup like this:
On the left side is a div called sliderdescription.
Using JS I’m appending the caption to the div like so:
However, this is showing all the captions, and not just the one being used by the current slide.
How would I got about making this only show up for the current slide?