Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

105
Views
Call Ajax for next page of pagination in SwiperJS

Hi i am using SwiperJS for sliding my products and my data is loading with Ajax and i have Pagination on APIs so i have next and last page address .

Is there any solution to ajax the next page when user reaches to last slide on Swiper ?

and if it's not , please tell me how sync Swiper pagination with Ajax because i have more than 100 products and i can't load them all when page loads.

here is my HTML Swiper code :

swiper1 = new Swiper(".BookSwiper-a", {
  slidesPerView: 1,
  spaceBetween: 55,
  loop: false,
  autoplay: {
    delay: 5000,
    disableOnInteraction: false,
  },
  breakpoints: {
    
    768: {
      slidesPerView: 1,
    },

    769: {
      slidesPerView: 3,
    },
    
    992: {
      slidesPerView: 3,
    },
    
    1480: {
      slidesPerView: 5,
    }
  },
  navigation: {
    nextEl: ".cmt-slide-next-a",
    prevEl: ".cmt-slide-prev-a",
  },
});

and i use Ajax to load products then Swiper.update()

Thanks for you help

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!