By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,741 Members | 2,009 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,741 IT Pros & Developers. It's quick & easy.

Ajax in paging

P: 2
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.
Sep 29 '08 #1
Share this Question
Share on Google+
3 Replies


acoder
Expert Mod 15k+
P: 16,027
Post your code or a link to a test page.
Sep 29 '08 #2

P: 2
please go through with this link
[removed link as per site rules]
Sep 29 '08 #3

acoder
Expert Mod 15k+
P: 16,027
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.
Sep 29 '08 #4

Post your reply

Sign in to post your reply or Sign up for a free account.