Associative object arrays of document : Introduction « Document « JavaScript Tutorial






<HTML>
<HEAD>
   <TITLE>Associative object arrays</TITLE>
<SCRIPT>
function showProperties (theObject){
   for (var i in theObject) {
      if (theObject[i] != null) {
          document.write(i + " : " + theObject[i] + "<br>");
           
      }
      else {
         document.write(i + "<br>");
      }
   }
   return;
}
</SCRIPT>
</HEAD>
<BODY>
<SCRIPT>
showProperties(window.document);
</SCRIPT>
</HTML>








14.1.Introduction
14.1.1.Document
14.1.2.Associative object arrays of document