Title should make my problem well described.Here goes my code.
Some text
You are missing a firstChild:
alert(document.getElementById("adiv").firstChild.firstChild.nodeValue);
(I know it sounds weird but this is how text nodes work)