0

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?

0

1 Answer 1

3

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.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.