<html> <body> <script language="JavaScript"> function function3() { alert(document.all.myNodeOne.nodeType); } </script> <p>This PARAGRAPH has two nodes, <b id="myNodeOne">Node One</b>, and <b id="myNodeTwo">Node Two</b>. </p> <button onclick="function3();">Node One Type</button> </body> </html>