Hi
Given
<body id="theBody">
<p> 1
<p> 2
<p> 3
<p> 4
<p> 5
<p> 6
</body>
var newText = parent.frames[1].document.creat eTextNode("some text");
var theBody= parent.frames[1].document.getEl ementById("theB ody");
theBody.appendC hild(newText);
This will insert an element after the last <p>, can I insert one
after the body but before the first <p>?
Thanks
F
Given
<body id="theBody">
<p> 1
<p> 2
<p> 3
<p> 4
<p> 5
<p> 6
</body>
var newText = parent.frames[1].document.creat eTextNode("some text");
var theBody= parent.frames[1].document.getEl ementById("theB ody");
theBody.appendC hild(newText);
This will insert an element after the last <p>, can I insert one
after the body but before the first <p>?
Thanks
F
Comment