download the "Simple Pagination" JQuery plugin here. http://th3silverlining.com/2010/04/15/pajination-a-jquery-pagination-plugin/
Assume you have an API which return data something like this (orders in my case)
and a ViewModel for "business logic". Code is self explanatory, if don't understand, please mention in comments, I will try my best to explain.
And, we have the Markup like this.
Lastly apply the bindings.