Re: [jQuery] Variable and additional selectors

2009-12-11 Thread John Arrowwood
var entry = $('#userlist > li").clone(); $('stuff',entry)... | $(entry).find('stuff')... $(entry).appendTo('#userlist') On Fri, Dec 11, 2009 at 1:46 PM, Adomatic wrote: > I'm just starting to play with jQuery and, like everyone before me, > I'm amazed by it's power. > > In short, my question is

[jQuery] Variable and additional selectors

2009-12-11 Thread Adomatic
I'm just starting to play with jQuery and, like everyone before me, I'm amazed by it's power. In short, my question is about cloning an object, manipulating it in multiple steps and and then appending it to a list. I have an li on my page containing several divs (a user avatar and a couple lines