F
foldface
Hi
Given
<body id="theBody">
<p> 1
<p> 2
<p> 3
<p> 4
<p> 5
<p> 6
</body>
var newText = parent.frames[1].document.createTextNode("some text");
var theBody= parent.frames[1].document.getElementById("theBody");
theBody.appendChild(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.createTextNode("some text");
var theBody= parent.frames[1].document.getElementById("theBody");
theBody.appendChild(newText);
This will insert an element after the last <p>, can I insert one
after the body but before the first <p>?
Thanks
F