S
S
seok802021-09-22 22:35:27
JavaScript
seok80, 2021-09-22 22:35:27

How to get active slide text in slick slider and write it to div?

How to get active slide text in slick slider and write it to div?
An example of such a slider https://codepen.io/seokvas/pen/QWgmgGy?editors=1010

That is, we click on the slide, we get the text (title) of the current slide from the div and write this title to another div.

slidecontainerTitle.innerHTML = titleText;
it doesn't work with innerHTML

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question