Click to See Complete Forum and Search --> : Displaying number of rows on page
mdcoll
09-18-2003, 02:31 PM
Is there any way in JavaScript to display the number of rows on a page and have a navigation at the bottom of the page to go to the next page or jump to page 2, 3, etc?
This is an example, we have a total of 50 rows in the table and we want to display 25 rows on page 1 and 25 rows on page 2. Also, have a navigation at the bottom i.e. <page1> <page2>
Would not it be better (and much easier) to use whatever server-side language you're using to display the rows in the first place?
[J]ona
mdcoll
09-18-2003, 02:49 PM
You are probably right. We are programming in JSP therefore we are going to look at server side coding vs. client side, but if there are any more suggestions. It will be appreciated. Thanks.
Originally posted by mdcoll
You are probably right. We are programming in JSP therefore we are going to look at server side coding vs. client side, but if there are any more suggestions. It will be appreciated. Thanks.
Approximately 13% of your visitors will have no JavaScript enabled, so it's always best to go server-side when possible.
[J]ona