jQuery get currect active slide
How can I get current active slide, and when change slide I get the new one? I've try with: $('#carouselExampleIndicators').bind('slid', function() { let currentIndex = $('button.active').index() + 1; alert(currentIndex) }); but not working This is JsFiddle: https://jsfiddle.net/moku23/65p0r9f1/6/