<p title="The test paragraph">This is a sample of some <b>HTML you might<br>have</b> in your document</p>
txt=document.getElementsByTagName("p")[0].childNodes[0].nodeValue;
alert("<p>The text from the intro paragraph: " + txt + "</p>");
it doesn't work.
How can I get the childNodes.nodevalue "This is a sample of some HTML you might have in your document"