Jump to content

Jump to Page [#]


cpugeek
 Share

Recommended Posts

Is there anyway to create a 'jump to #' textfield?how it works is when you put a page number in the text field and press go it takes you to that page if available.example: « Previous 1 2 3 4 5 6 ... 291 Next »Jump to page #[92] [go]here's a screenshot from ebay of what i'm trying to describe.post-6055-1217719648_thumb.jpgAny and All help is appreciated. :]

Link to comment
Share on other sites

If your application is in a server side language, and the page is a list obtained from a database, usually you send the number in a GET query, and in the server-side language, take the entries starting by the number multiplied by the amount of elements in each page. (Example: if there are 15 elements per page, page 20 would be to extract elements from the database starting from (15*20) )

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...