| Author |
javascript pagination
|
kavita vala
Ranch Hand
Joined: Jul 22, 2010
Posts: 42
|
|
I have a html page and in that i was fetch data from database dynamically
for make listings.
Then how can i give facility of pagination to my listing
I was search on google but every example is for static data.
please help me for that issue.
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56179
|
|
[Please do not bump your posts]
This is something that should be handled on the server.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Eswar Nec
Ranch Hand
Joined: May 02, 2010
Posts: 105
|
|
Hi,
Here, i retrieve data from database and also perform sorting.
And also downlaod the script ( (paging.js) ) here :
http://en.newinstance.it/2006/09/27/client-side-html-table-pagination-with-javascript/
This script can handle pagination process.
|
Wake up! Don't let your smile be snatched away by anybody!
Regards, Eswar
|
 |
Gregg Bolinger
Ranch Hand
Joined: Jul 11, 2001
Posts: 15230
|
|
|
The solution given by Eswara is full of bad practices and anti-patterns. Take it with a grain of salt.
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56179
|
|
Why have you posted a JSP solution (and one using really poor practices) for a JavaScript question?
[Edit: Ah, Gregg beat me by a few minutes!]
|
 |
 |
|
|
subject: javascript pagination
|
|
|