Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 497087
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T05:44:53+00:00 2026-05-13T05:44:53+00:00

I am going to write an Ajax pagination code by myself using jQuery and

  • 0

I am going to write an Ajax pagination code by myself using jQuery and css . Can you suggest me an algorithm or steps to complete that code successfully.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T05:44:53+00:00Added an answer on May 13, 2026 at 5:44 am

    This is how I did it for one of my old project.

    1. Create a html table and a set of “li”s with relevant page numbers ( you have to calculate the number of pages to display according to the number of rows matching to the search value in the database).

    2. I wrote a function to send jquery ajax request with Search text value, result set start index and number of rows per page. Replace the existing search table data ( + pagination li set) with response data returned from the server.

    3. Then bind above function to the click event of the set of “li”s I have mentioned in the first point. ( result set start index and number of rows depends on the clicked li element. )

    4. In the server side, Query the database for selected result set range.
      SELECT * FROM my TABLE WHERE search_field = ‘SEARCH_VALUE%’ LIMIT START_INDEX_FOR_RESULT_SET , NUMBER_OF_ROWS_PER_PAGE

    Create HTML structure of the search result table and navigation “li”s and send it as the response for the ajax request. See step 2 for what will happen to this generated html content.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm going to write the web portal using Cassandra databases. Can you advise me
I'm attempting to write an AJAX control extender that can modify an AJAX Control
I'm going to need to write a program that takes a list of persons
I'm going nuts over this. I can write to a cookie, and then read
I've decided that I'm going to write an API for my music site. Something
I'm going to write my own custom control that is very different from UIButton.
I'm sure I'm going to have to write supporting javascript code to do this.
I have been using the following code for loading JQuery in all of my
I'm using jQuery's AJAX function, like so: $.ajax ({ url : /note, async :
So what I want to do is to submit a form using jQuery's AJAX

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.