Hi,
I am trying to realize a simple button with the "slickGoTo" method to slide to another slide, but all time I get the error "Uncaught TypeError: undefined is not a function".
Do you have an idea, where I am wrong?
Here my Fiddle: http://jsfiddle.net/N6wfG/99/
The way you call methods has changed. You now need to call slick first and pass it the name of the method you want to call, like this:
slider.slick('slickGoTo', 1)
Oh yeah, this works fine. Thanks for that!
Thanks you babe
Thank you @evalunamain
just out of curiosity @evalunamain what was the reason for this change?
Thank you so much @evalunamain..
It's very help for me.. :+1:
Awesome @evalunamain
Finally got my slick to work with that!
Thank u =)
i am getting this error
uncaught TypeError: $(...).slick is not a function at interval ((index):807)
at this line
$('.single-item').slick('slickNext');
and also on this line
$('.single-item').slick('slickGoTo', goToThisIndex, false);
Most helpful comment
The way you call methods has changed. You now need to call slick first and pass it the name of the method you want to call, like this:
slider.slick('slickGoTo', 1)