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? 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* 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, > from an AJAX response. How do I do that? > > _______________________________________________ > jQuery mailing list > [email protected] > http://jquery.com/discuss/ > -- Best Regards, Jacky 網絡暴民 http://jacky.seezone.net _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
_______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
