N
N
Nixtone2018-02-02 11:44:50
JavaScript
Nixtone, 2018-02-02 11:44:50

Why is the data value not being assigned to the selector?

I am writing my own slider. Here is the problem, in breadcrumbs the data-id attribute is assigned to the dots, the idea is that the value of this data-id is pulled up to the slide selector (for example, "slide c0", where c0 is the slide number, instead of conditional zero, the data-id value should be assigned, but this doesn't happen console.log says "I didn't find such a selector, go to hell"
https://jsfiddle.net/Nixtone/huz7790g/ Line 22 of JS On the checkout line

. without scrolling through the entire slider when going from the last to the first slide) Please.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Z
zoozag, 2018-02-02
@Nixtone

Russian markings

c

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question