On Aug 29, 2007, at 8:51 PM, Joel Birch wrote:
Hi Felix,
As of jQuery 1.1.4 there is a new slice() method which works
similar to the JavaScript native Array.slice() method, except on
jQuery objects. Therefore, I guess you could do something like:
var $rows = $('table tr');
$rows.slice(1,$rows.length-3);
I may not have calculated the slice parameters properly because I
wanted to post this quick enough to beat Karl to the punch :)
Joel Birch.
You crack me up, Joel! :-) I didn't even get a chance to read your
reply until an hour after you posted it. You won by a mile ... this
time.
--Karl
_________________
Karl Swedberg
www.englishrules.com
www.learningjquery.com