const imageCarousel = jQuery ( '#your-id .swiper-container' ), swiperInstance = imageCarousel.data( 'swiper' ); swiperInstance.slideTo( your_index );