[jQuery] livequery with tablesorter and tablesorterPager
using this code:
$('#dash-board').livequery(function(){
$(this).tablesorter().tablesorterPager({container: $("#pager")});
});
jquery, livequery, and tablesorter all work fine when the page fist loads,
but if I navigate to another page, and go back to the page with the
'dash-board' id, tablesorterPager fails in some areas. (I have an ajax
setup, so dash-board loads in a div). It works in the fact that it does
change the rows to 10 at a time. I can also use the drop down that has
10,20,30,40 and it will change to display that number of rows. THE PROBLEM
is however that first, last, next, and previous buttons are disabled. It
seems as if the click event is not binding to those buttons.
I tried going into the tablesorterPager plugin and using livequery on those
click events, but it still does not work. It just does not make sense to me
that it would paginate, the dropdown works, but the next/previous do not
work. Has anyone run into this or have any suggestions? TIA!
--
View this message in context: http://www.nabble.com/livequery-with-tablesorter-and-tablesorterPager-tp19485724s27240p19485724.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.