Re: [jQuery] How does one add children to a DOM element using jQuery?

2007-01-22 Thread Karl Swedberg
On Jan 22, 2007, at 1:36 PM, Galen Palmer wrote: Stupid error: I forgot to put a "#" in front of my id selector. GSP Don't sweat it. Happens to me all the time. :) --Karl _ Karl Swedberg www.englishrules.com www.learningjquery.com ___

Re: [jQuery] How does one add children to a DOM element using jQuery?

2007-01-22 Thread Galen Palmer
Stupid error: I forgot to put a "#" in front of my id selector. GSP On 1/22/07, Galen Palmer <[EMAIL PROTECTED]> wrote: Hi all, I'm going to append on to this thread since it seems to be related... I'm trying to dynamically build a tree from ajax calls using jQuery. The actual code is mor

Re: [jQuery] How does one add children to a DOM element using jQuery?

2007-01-22 Thread Galen Palmer
Hi all, I'm going to append on to this thread since it seems to be related... I'm trying to dynamically build a tree from ajax calls using jQuery. The actual code is more complicated than I'm listing here, but I'm trying to get to the crux of the problem which is: Can jQuery append to elements

Re: [jQuery] How does one add children to a DOM element using jQuery?

2007-01-20 Thread Dmitrii Dimandt
Oops : I completely missed the fact that append() "appends content to the inside of every matched element.", http://visualjquery.com/ My mistake :) On 1/20/07, Jacky <[EMAIL PROTECTED]> wrote: append() can add child by html/dom object. Can u give an example? What is your response format

Re: [jQuery] How does one add children to a DOM element using jQuery?

2007-01-20 Thread Jacky
append() can add child by html/dom object. Can u give an example? What is your response format? html? json? On 1/20/07, Dmitrii 'Mamut' Dimandt < [EMAIL PROTECTED]> wrote: I'm slightly confused. How does one add children to a DOM element using jQuery? There are append*, prepend*, insert* meth

[jQuery] How does one add children to a DOM element using jQuery?

2007-01-20 Thread Dmitrii 'Mamut' Dimandt
I'm slightly confused. How does one add children to a DOM element using jQuery? There are append*, prepend*, insert* methods, but none of them seem to actually add a child *inside* a jQuery/DOM element. Why do I need this? I need to create a list inside a div from some data that comes, say, fro

[jQuery] How does one add children to a DOM element using jQuery?

2007-01-20 Thread Dmitrii 'Mamut' Dimandt
I'm slightly confused. How does one add children to a DOM element using jQuery? There are append*, prepend*, insert* methods, but none of them seem to actually add a child *inside* a jQuery/DOM element. Why do I need this? I need to create a list inside a div from some data that comes, say, fro