Java Reference
In-Depth Information
var run = document.getElementsByTagName("p")[2];
<< undefined
run.style.display = "block";
<< "block"
You can hide the "run" paragraph with the following code:
run.style.display = "none";
<< "none"
You can see the effect in Figure 6.12 .
Search WWH ::




Custom Search