I have to agree with Stephan about the slice method, it's not intuitive.
But why do you want to use eq/lt/gt as methods if you have them as
selectors? Can you give an example where a method can do more than a
selector?
-- David
Stephan Beal schreef:
On Sep 17, 9:36 am, Bernd Matzner <[EMAIL PROTECTED]>
wrote:
It really makes things easier when selecting elements with variables.
Amen! Is there any chance of getting gt/lt() back in? My main
arguments are:
a) the same as above: working with variables is easier than when using
selectors.
b) having to use slice() removed the symmetry which gt/lt() had with
their selector counterparts. e.g. $("...:lt(3)") ==> $
(...).slice(0,3). Whereas $("...:gt(3)") ==> slice(4) ==> the off-by-
one there is particular inelegant, IMO.