How do I generate page numbers for a multi page data set using javascript?
Consider there are 55 pages. I want to generate page numbers like this
1 2 3 4 5 ..... 55 next
Which is rather similar to the Stackoverflow questions pager
Any suggestions?
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.
There is a Jquery pagination plugin, you can use it directly or check its source to get an idea for own custom pagination script.
Hope this helps, Sinan.