/    Sign up×
Community /Pin to ProfileBookmark

help please:pagination

Hi all

Can anyone help me in this…

I have a jsp page which retrieves a bulk of values from database.
I use pagination technque for displaying 50 records per page.

But am not gud in javascript..

So I cant write the code for navigating thrgh the pages on clicking

previous 1 2 3 4 5 6 7 8 9 Next

once he click on the “Next” the next page should come..(but for 9 clicking Next should display 10 11 12 13 14 15..19 Next)

“previous” should be disabled if no previous page is there.ie

previous is not for the first time loading.

Please help me in this regard..

to post a comment
JavaScript

1 Comments(s)

Copy linkTweet thisAlerts:
@CharlesAug 26.2004 — You need to edit your server side script for you don't want to do this with JavaScript; it's too iffy. And it should be a simple matter server side.
×

Success!

Help @jil_joe spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.20,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...