[jQuery] Re: Best way to construct DOM objects

2009-10-16 Thread Frederic Laruelle
Tks Dave and Karl, it helped! Fred~ On Thu, Oct 15, 2009 at 7:05 PM, Dave Methvin wrote: > > There are a lot of ways to accomplish this. Karl's post demonstrated > one way to create larger fragments directly with jQuery. In addition > to .append() you can look at using the .wrap() methods. > >

[jQuery] Re: Best way to construct DOM objects

2009-10-15 Thread Dave Methvin
There are a lot of ways to accomplish this. Karl's post demonstrated one way to create larger fragments directly with jQuery. In addition to .append() you can look at using the .wrap() methods. Mike Geary may come by and give you a pointer to his DOM creation methods, which I used on several proj

[jQuery] Re: Best way to construct DOM objects

2009-10-15 Thread Karl Swedberg
Hi Fred, I'll answer your second question: On Oct 15, 2009, at 9:03 PM, Frederic Laruelle wrote: On a related note, how does JQuery allow you to nest append statements? Since chaining returns the parent element (matched by $), the following statement obviously doesn't work as intended: $("#resu