PPT Slide
Document Properties (cont’d)
To list the properties of document:
for ( var prop in document ) {
with ( document ) {
write(prop + " = ");
writeln(eval(prop), "<BR>");
}
}
Recall that the with statement qualifies all object references within its scope
Previous slide
Next slide
Back to first slide
View graphic version