DOM

Methods

Compatibility: Hop over the DOM

function showOurExample() 
{
if ( document.documentElement )
{
document.getElementById("ourExample").style.display="block"; 
return;
}

 
else
{
alert("same message here as in our DOM handled element.");
}

Next >


< Previous

[Page Top]

Introduction to DOM, by Dr Sam
copyright | contact
published by OxfordU.net

[An alternative, straight-text version is also available.]

Web-Design Tutorials by Dr Sam