Also, if you used CSS to give a class to the ones with position absolute then you could use: $("#test .relative")
Glen On 9/18/07, Glen Lipka <[EMAIL PROTECTED]> wrote: > > Just looking at the moreSelectors plugin. > I think it would be a nice addition to add :css("rule","value") to the > moreSelectors plugin. > Like $(#test *:css(''position,'relative')") > > Glen > > On 9/18/07, Andy Matthews <[EMAIL PROTECTED]> wrote: > > > > Maybe something like this: > > > > $('#test').children().filter(function(index) { > > return $("div", this).css('position') == 'relative'; > > }) > > > > ------------------------------ > > *From:* jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] *On > > Behalf Of *Geoffrey Knutzen > > *Sent:* Tuesday, September 18, 2007 3:32 PM > > *To:* jquery-en@googlegroups.com > > *Subject:* [jQuery] RE: Selecting relative or absolute positioned > > elements > > > > -Bump- > > > > > > > > Anyone have any ideas? > > > > > > > > > > ------------------------------ > > > > *From:* Geoffrey Knutzen [mailto:[EMAIL PROTECTED] > > *Sent:* Friday, September 14, 2007 3:24 PM > > *To:* 'jquery-en@googlegroups.com' > > *Subject:* Selecting relative or absolute positioned elements > > > > > > > > Inside a given div, say of id #test, how do I select all elements that > > have relative or absolute positioning? > > > > > > > > Can't figure this one out > > > > > > > > Thanks > > > > -Geoff > > > >