I have a search page that I'm implementing as part of an ASP.NET + MVC + jquery site. The search query scores each result that is returned as part of the results set. i.e. Higher score for closer match.
Because the results set can change, and because the algorithm that scores the matches is somewhat intensive, I only want to load the results once and to find a way to click through the pages of results.
I figured that I would make a page that contained all of the search results (each result has its own ) and just show/hide a subset by clicking on buttons associated with jquery code. I think I can see how to do this before I start trying to make it work (I'm still fairly new to jquery), but thought I'd first see if anyone has any better ideas.
Thanks in advance for any suggestions.
Edit: Francisco's suggestion was just what I needed. I implemented it with some minor changes and created some jquery buttons to navigate to first/prev/next/last page along with a 'Viewing results n-m out of N' label. Thanks for all the suggestions.