I have a pause button in my carousel and , it is not working.
My requirement is that when author will click on pause button then the Carousel slide will be stopped and when they again click on pause button then the slide will again start rotating from starting 3 seconds.
I have written below code.
Landing Page Carousel Testing Here 1}"> $(function() { $('#myCarousel').carousel({ interval: 3000, pause: "false" }); $('#pauseButton').click(function() { $('#myCarousel').carousel('pause'); }); });It should pause and play from 3000 seconds