josecebe / twbs-pagination

jQuery pagination plugin (bootstrap powered)
http://josecebe.github.io/twbs-pagination/
Other
1.1k stars 401 forks source link

Jump/Go To Page Option #85

Closed sandesh583 closed 7 years ago

sandesh583 commented 8 years ago

I would like to thank you for developing this plugin. I am using this plugin in one of my major project and came across the issue of Jumping to a page. Would you please either guide me how can I re-use your function in order to achieve that without page reload.

Or can you introduce it as a new feature.

pavelthq commented 8 years ago

Just use show method in widget?

If you pages are located in different request (page reload) you should make them prefetch in ajax and then call pagination.

TheHooper commented 8 years ago

e.. how can i use the show method? i don't know how to call it

eugenesimakin commented 7 years ago

Out of date. Closed.

PS. Any jQuery plugin method can be called with $(selector).pluginName('methodName'); See for details https://github.com/jquery-boilerplate/jquery-patterns/blob/master/patterns/jquery.basic.plugin-boilerplate.js