• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Properties and Values

Properties and Values

JavaScript includes several methods for finding properties and values in relation to the browser window and Web page. The following tables present those methods. Where there are multiple methods for getting the same information, the method in bold text is the preferred method.

Table B.2. Finding Objects
To FindMethodCompatibility
Objectdocument.getElementById(objectID)IE4, N6, S1, O5
 document.all[objectID]IE4, O5
 document.layers[objectID]N4 (Only)



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint