.html() only gets the innerHTML for the first matched element. What are you trying to do with the children?
--John On 9/12/07, Brook Davies <[EMAIL PROTECTED]> wrote: > > > Hello, > > I am trying to simply grab the children of a div. The markup is: > > <div id="content"> > <div id="panelPreview" class="fieldset_theme"> > <div id="panelPreview_inner" class="hPanel"> > <fieldset> > <legend>[Section/Panel > Heading]</legend> > </fieldset> > </div> > </div> > </div> > > But, what I don't understand is why when I call > > alert($('#content').children().html()); > > The resulting html starts with '<div id="panelPreview_inner" > class="hPanel">' > > It seems like it is missing the first div after #content? What am I > missing?? > > Brook > > > >