The only concern I have is that this could be yet another mysterious method that someone might not know what it does. Will it work just lke javascript's slice method?
_____ From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Benjamin Sterling Sent: Friday, August 17, 2007 10:46 AM To: jquery-en@googlegroups.com Subject: [jQuery] Re: jQuery negatives: dual/triple/quadruple special-case uses for both function calls and method names I like that, I like that alot! On 8/17/07, John Resig <[EMAIL PROTECTED]> wrote: > I'm all in favor of removing gt/lt/eq in favor of the selector version > with filter. That was the original goal, but I actually decided to introduce an array method into jQuery to solve that problem: .slice(). Now gt/lt/eq will become: gt: .slice(Num) lt: .slice(0,Num) eq: .slice(Num,1) Plus slice gives you a ton of extra functionality: first: .slice(0,1) last: .slice(-1) all but first and last: .slice(1,-1) --John -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com <http://www.KenzoHosting.com>