I want to achieve pagination (5 records per page) for this simple JavaScript array table having pagination controls.
So far I created a table with data:
jsfiddle.net/QwBsa/13/
Can anyone route me to any demo or reference ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
try to use jQuery.dataTables…which gives the pagination as well as sorting options
include this
and create table as like yours in javascript and declare class name as “abc”
and call jquery display length will be the number of data to be displayed,
jQuery call:
for reference use see website
http://www.datatables.net