[jQuery] count lis within a ul.
<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">right now i am using this: it seems to return the total width of the li's or something. why isnt there some kind of countFirstGenerationChldren prototype? :P<div>
</div><div>code: <span class="Apple-style-span" style="font-family: Monaco; font-size: 11px; "><span style="color: #ab1579"></span></span></div><div><font class="Apple-style-span" color="#AB1579" face="Monaco" size="3"><span class="Apple-style-span" style="font-size: 11px;">
</span></font></div><div><span class="Apple-style-span" style="font-family: Monaco; font-size: 11px; "><span style="color: #ab1579">var</span> itemLength = $(<span style="color: #b41818">"div.belt > ul > li"</span>).length;</span></div><div>
</div><div>
</div></body></html>