Заголовок должен сделать мою проблему хорошо описанной. Здесь идет мой код.
<div id="adiv"><text>Some text</text></div>
<script type="text/javascript">
function vb(){
alert(document.getElementById("adiv").firstChild.nodeValue); //returns null
}
</script>
<input type="button" onclick="vb();" value="get"/>
где проблема..?