[jQuery] NEWBIE Question: children() skips first element?
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