[jQuery] Re: Find nested elements within a div

2007-08-03 Thread Karl Swedberg
Hi Jeff, The slash ( / ) in your selector expression is finding children only, not descendants. Use either a space or two slashes to find all descendants. Also, jQuery has a pseudo-selector for checkboxes, :checkbox. So you could do this ... $("#checkGroup//:checkbox") or this ..

[jQuery] Re: Find nested elements within a div

2007-08-03 Thread Klaus Hartl
Mindblender wrote: I am trying to get all of the check box elements within a div element. Some are also inside a span element within the div. When I do $("#checkGroup/[EMAIL PROTECTED]"), I get the first 5 checkboxes but the remaining 4, the ones within the span, aren't included. How can I se