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

Chapter 7. Objects and Object Hierarchies > Hierarchy of Objects in JavaScript

Hierarchy of Objects in JavaScript

The key to understanding objects in JavaScript is to understand JavaScript’s relationship to HTML and HTML’s structure. One of the clearest and simplest structures in HTML is the form object. Table 7.1 shows the fundamental hierarchy of objects.

Table 7.1. Hierarchy of HTML Form
Window (object)
Document (property of window)
Form (property of document)
Element (property of form)
Element value (property of element)



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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