Correct, this is as intended. http://docs.jquery.com/Traversing/slice
As noted in the docs, it behaves like the "native" JavaScript Array.slice function. "It extracts up to, but not including, the 'end' element (if no 'end' is specified, the default is the very last element)." - from http://www.devguru.com/technologies/ecmascript/quickref/Slice.html Karl Rudd On Wed, Jun 25, 2008 at 12:36 PM, jack <[EMAIL PROTECTED]> wrote: > > I found slice(start, end) doesn't pick up the last one specified by > the 'end'. Such as slice(0, 3), it pick up 0, 1 and 2. Is that the way > it works? > > Jack >