[jQuery] Re: What is the equivalent to Mootools $E(selector, data) in jQuery?

2008-06-24 Thread Toxane
Hi John Thanks for your reply. I did: jQuery(el).append(jQuery(data).find('li')); which works as well. Greetings, Pete On Jun 24, 7:21 pm, "John Resig" <[EMAIL PROTECTED]> wrote: > You could do this: > > jQuery('').html(data).find('li').appendTo('#el'); > > --John > > On Tue, Jun 24, 2008 at 6

[jQuery] Re: What is the equivalent to Mootools $E(selector, data) in jQuery?

2008-06-24 Thread John Resig
You could do this: jQuery('').html(data).find('li').appendTo('#el'); --John On Tue, Jun 24, 2008 at 6:44 AM, Toxane <[EMAIL PROTECTED]> wrote: > > Hi. I'm porting a Mootools script to jQuery. Basically I need to > extract some data from existing data. In Mootools, I did it like this: > > This