Displaying the Navigator's Associative Array : Object Property : Development JAVASCRIPT DHTML TUTORIALS


JAVASCRIPT DHTML TUTORIALS » Development » Object Property »

 

Displaying the Navigator's Associative Array



<HTML>
<HEAD>
<TITLE>Associative object arrays</TITLE>
<SCRIPT
function showProperties (theObject){ 
   for (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.navigator)
// showProperties(window.document); 
</SCRIPT>
</HTML>
           
       



-

Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

JAVASCRIPT DHTML TUTORIALS

 Navioo Development
» Object Property