'documentElement' Example : documentElement « Node Operation « JavaScript DHTML






'documentElement' Example

    
<html>
<body>
<button onClick="alert(document.documentElement.nodeName);">Root Node</button>
</body>
</html>

    
      
      








Related examples in the same category