[jQuery] list traversing

2009-02-05 Thread amazz...@gmail.com
Hi, I'm trying to traverse a list that has some sub-lists nested, i.e. List Item1 List Item2 Sub Item1 Sub Item2 I'm trying to grab the text of List Item2, but without the text of the sublist items. Right now if I use: $('ul li').text() -

[jQuery] Re: list traversing

2009-02-05 Thread amazz...@gmail.com
ors/firstChild > > would make it a snap to get the text() > > On Feb 5, 3:00 pm, "amazz...@gmail.com" wrote: > > > Hi, > > I'm trying to traverse a list that has some sub-lists nested, i.e. > > > >     List Item1 > >     List Item2 >