Show all objects in Document

[Total: 0    Average: 0/5]

This file shows how to look and see what all the objects are in the document object. Netscape and Internet Explorer have different objects available for access. Internet Explorer provides some that yeild errors on attempts to read that data. (you’ll se

Body Code:

<script type=text/javascript>
for(var i in document) {
  if (i) if (document[i])
    document.write('document.'+i+' ... <b>'+document[i]+'</b><br>')

Times Viewed: 2

Leave a Reply

Your email address will not be published. Required fields are marked *