Still doesn't work. :( http://www.commadot.com/jquery/selectorNot.php
Glen On 9/18/07, Erik Beeson <[EMAIL PROTECTED]> wrote: > > > > Andy, I can't seem to get this code below to work. > > http://www.commadot.com/jquery/selectorNot.php > > You want: > > $('#container').children().filter(function() {return > $(this).css('position') == 'relative';})...; > > That $('div', this) that you're doing is looking for divs that are > children of your 2 divs, which there aren't any, so nothing happens. > > --Erik >