06-18-2011, 03:50 PM
[eluser]jmadsen[/eluser]
no, you misunderstood me.
what I meant was, pagination typically runs off a set of parameters that get passed to the query to tell it which offset to apply. if you have two tabs, you have two queries - so, send two sets of parameters in your url.
more or less:
http://www.mysite.com/controller/functio...b2/offset2
tab1..to the end is dynamically built. there are some other params you typically need - no example in front of me, and no coffee yet :-p, but you get the idea
If you are doing it with jquery, you have anything and everything you want accessible, so just set up data attr, hiddens, whatever makes it easier
no, you misunderstood me.
what I meant was, pagination typically runs off a set of parameters that get passed to the query to tell it which offset to apply. if you have two tabs, you have two queries - so, send two sets of parameters in your url.
more or less:
http://www.mysite.com/controller/functio...b2/offset2
tab1..to the end is dynamically built. there are some other params you typically need - no example in front of me, and no coffee yet :-p, but you get the idea
If you are doing it with jquery, you have anything and everything you want accessible, so just set up data attr, hiddens, whatever makes it easier