Expose the prperties of Objects : document « Javascript Objects « JavaScript DHTML






Expose the prperties of Objects

   

<html>
<head>
<title>Expose the Objects</title>
</head>
<body>
<script type="text/javascript">
for (docprop in document) {
   document.writeln(docprop + "=");
   eval ("document.writeln(document." + docprop + ")");
   document.writeln("<br />");
}

</script>
</body>
</html>

   
    
    
  








Related examples in the same category

1.'expando' Example
2.Active Element
3.Document 'URLUnencoded' Example
4.'URL' Example
5.Create a Comment
6.'write()' Example
7.'writeln()' Example
8.Execute Command
9.Document parentWindow
10.Document referrer
11.Document compatMode
12.Document design Mode
13.Document doctype
14.Document Domain
15.Document title Example
16.Document Link color
17.Use document.links collection
18.Print page out