Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Javascript Page Pagination

Status
Not open for further replies.

maas

Programmer
Sep 3, 2009
148
BH
Hello All,

I am having a jsp which is listing more than 50 records. I would like to have a page pagination to the table. I have been advised with javascript. So, how can I do that in an easiest way?

Thanx
 
Given you have access to server-side scripting (JSP), I would strongly recommend doing this server-side to start with, as you would have to build this anyway to support users who do not have JavaScript enabled.

Sure, you can add JavaScript pagination (perhaps with AJAX) on later, but you will still need the server-side infrastructure to deal with this.

Dan



Coedit Limited - Delivering standards compliant, accessible web solutions

Dan's Page [blue]@[/blue] Code Couch:
Code Couch Snippets & Info:
The Out Atheism Campaign
 
Can you please help with a sample?

or how to do that?
 
Perhaps you are confusing Java (the J in JSP) with JavaScript. The two are very, very different.

For help with Java, you should ask in forum269. For help with JSP, you should ask in forum695.

Dan



Coedit Limited - Delivering standards compliant, accessible web solutions

Dan's Page [blue]@[/blue] Code Couch:
Code Couch Snippets & Info:
The Out Atheism Campaign
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top