Page 1 of 1

Carousel event

Posted: Fri Aug 28, 2020 2:44 am
by spoon
Hello Pablo, tell me, I have 15.4.5, made an event for the button

Code: Select all

$ ('# Carousel1'). Carousel ('next') 
but an error comes out, see the photo.

Code: Select all

kviz.html:61 Uncaught TypeError: $(...).carousel is not a function
    at HTMLInputElement.onclick 
foto

Re: Carousel event

Posted: Fri Aug 28, 2020 6:01 am
by Pablo
Note that there are 3 different types of carousels:
- default
- effects
- bootstrap
Each one uses different functions.
See also the information about this in the help.

Re: Carousel event

Posted: Fri Aug 28, 2020 7:08 am
by spoon
Спасибо понял!