Get number of elements within a number of the same elements
<p>I hope I can word this okay.</p>

<p>I have multiple divs all called '.collapse-conten' and within each of these I have a table called '.collapseTable'. What I would like to do is check the number of rows within each table.</p>

<p>I have this code right now...</p>

<p>var num = $(".collapse-content tr").size();
alert(num); </p>

<p>This obviously returns all rows in the page and the number of rows per div named '.collapse-content'</p>

<p>Can someone please help with this.</p>

<p>Many thanks,
Cj</p>
