Check out the functions here, particularly under Filtering: http://docs.jquery.com/Traversing
--Erik On 7/12/08, wolf <[EMAIL PROTECTED]> wrote: > > > hi all, > > since a jQuery collection (say, `var j = $( 'div' )`) looks and > behaves a bit like a standard javascript array (you can iterate over > it, fetch single elements using `j[n]`, delete everything doing > `j.length = 0`), what is the preferred way to do other array-like > manipulations on it? > > let's say i have `j` as defined above, and want to throw out (from the > collection, not from the document) any element that the user clicks > on, how could i do that? i browsed parts of the source but did not > grok where a jQuery object keeps its collection of elements (my own > javascript code looks like cave painting in comparison). am i missing > something terribly obvious here? > > > _wolf > heckc out the stuff under filtering: