Thanks
On 10/20/06, John Resig <[EMAIL PROTECTED]> wrote:
> Can I take it one step further and only attach it to direct children?
> e.g.... the <b> gets left out (and any other sub sub elements).
Yep - $("#foo > *") only grabs direct children (which is what you
want). If you want to grab all descendants (children and children of
children and children of children of children, etc.) then you would
do: $("#foo *")
> P.S. JQuery rocks... you're a god. You might actually be the god. ;)
LOL... I just like to help out - glad you're enjoying jQuery.
--John
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
--
Tom Holder
Managing Director
Atom Software Ltd
t: 01722 770001
f: 0117 923 9922
_______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/