I dont know if this is right or not but every time you use a function you should end it with () and (param1, param2, paremEnd) if you have parameters. So shouldnt it be
$("div.belt > ul > li").length(); On Apr 30, 7:04 pm, Dave Methvin <[EMAIL PROTECTED]> wrote: > > 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 > > var itemLength = $("div.belt > ul > li").length; > > Looks like it should work; can you show your markup?