Thanks Wizzud, but this does not work with elements that are dynamically added to the DOM, is there another way? Thanks
On Oct 3, 11:26 pm, Wizzud <[EMAIL PROTECTED]> wrote: > var ct = $('div').children().size(); > > wattaka wrote: > > > How can I count the number of child elements that a div container has? > > Thanks > > -- > View this message in > context:http://www.nabble.com/Counting-the-number-of-child-elements-that-a-di... > Sent from the jQuery General Discussion mailing list archive at Nabble.com.