.filter and and lt(index) problem
Hey guys, I'm working on a little pagination script and I'm having problems with one of my lines. The idea is to .show() a specific range of tr's.
-
$('#sideBar tr').hide();
$('#sideBar tr:lt('+finish+')').filter($('#sideBar tr:lt('+start+')').show();
start is the first index in the range, and finish is the last. So the idea is to hide all rows, then show the ones in between the start and finish ranges. I've been looking over the jQuery site documentation and as best as I can understand it my use of .filter is correct. Thanks in advance.