DOM

Methods

Coordination of Standards

The other function would return the element to its original style:

document.getElementById("ourExample").style.display="none";
 

We could place an event handler for this function inside our hidden element, as we shall see next . . .

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