Ajax in paging

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kartic
    New Member
    • Sep 2008
    • 2

    #1

    Ajax in paging

    hi all,
    i am very new in Ajax programming,
    my problem is, i am creating paging with Ajax functionality,
    and with Ajax i am calling javascript in each page no, my javascript function make the ajax request to the server.
    now i am showing 10 records per page and in my DB there is 14 total records, and i have 2 pages total. in my first page 10 records is display and in second 4 records is display.
    when i go through 1 to 2 i get correct 4 remaining record in second page , but when i come back to previous page means 2 to 1 i get only 4 records out of 10, i dont know why this is happning, when i come back to the previous page.
    please help me, your suggesstion would be appreciated.
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    Post your code or a link to a test page.

    Comment

    • kartic
      New Member
      • Sep 2008
      • 2

      #3
      please go through with this link
      [removed link as per site rules]
      Last edited by acoder; Sep 29 '08, 01:46 PM. Reason: Removed link

      Comment

      • acoder
        Recognized Expert MVP
        • Nov 2006
        • 16032

        #4
        I have had to remove the link because it breaks the posting guidelines, in particular the rule:
        Things which are generally unacceptable
        Posting links to a site that contains inappropriate content or content that would break the posting guidelines if posted directly on Bytes.com, specifically but not limited to bad/foul language or sexually explicit sites.
        Either post the code or post a link to a test page with no images.

        Comment

        Working...