[jQuery] Re: count children

2008-09-04 Thread Michael Geary
Ronn, your description doesn't match your code. The description says you want to count the 'group#' divs inside of the 'master' div, but the code counts the immediate children of the #master div. Now, given the HTML you posted, those happen to be the same value, since the only immediate children

[jQuery] Re: count children

2008-09-04 Thread Ronn Ross
Michael, You were right my markup was a little messed up. I cleaned it up and used $('#master').children().size() and it worked for what I needed. Thanks for your quick response and you detailed explanation. Thanks again, Ronn On Thu, Sep 4, 2008 at 11:44 AM, Michael Geary [EMAIL PROTECTED]