[jQuery] Re: Wrapping non empty text node with

2009-01-16 Thread Beres Botond
Actually, you'll need $("#target").find("li").each(function(){ to process each li from target ul. On Jan 16, 12:22 pm, Beres Botond wrote: > I don't think you need .find("li"), just > > $("#target > li").each(function(){ > > Other than that, looks pretty simple already > > On Jan 16, 10:50 am,

[jQuery] Re: Wrapping non empty text node with

2009-01-16 Thread Beres Botond
I don't think you need .find("li"), just $("#target > li").each(function(){ Other than that, looks pretty simple already On Jan 16, 10:50 am, Jacky wrote: > Hi all, > > I'm looking for a way to wrap text node with . > > HTML: > > > Item 1 > Item 5 > > Item 5-1 >