How do I get the current index from the carousel?
In this case I am using an unordered list. I know I could search through the list items to find the one with the \'
This worked for me (Bootstrap 3)
$("#myCarousel").on('slide.bs.carousel', function(evt) { console.debug("slide transition started") console.debug('current slide = ', $(this).find('.active').index()) console.debug('next slide = ', $(evt.relatedTarget).index()) })