I discovered that I can do this to grab rows of a dynamic table between 2 and 5:
var limitTable = $(table).find('tr:gt(2):lt(5)');
But I can't do this:
var temp1 = 2;
var temp2 = 5;
var limitTable = $(table).find('tr:gt(temp1):lt(temp2)');
In my situation, I can't hard code values in the "gt( )" and "lt( )". It will depend on an incremented variable. Not sure what to do. JSFIDDLE