Javascript Object Hierarchy

When you load a document in Navigator, it creates a number of JavaScript objects with property values based on the HTML in the document and other pertinent information. These objects exist in a hierarchy that reflects the structure of the HTML page itself. The following figure illustrates this object hierarchy.

Javascript Object Hierarchy

WINDOW OBJECTS WINDOW.DOCUMENT OBJECTS

  • window
  • window.frame
  • window.location
  • window.history
  • window.document
  • window.document.layer
  • window.document.link
  • window.document.image
  • window.document.area
  • window.document.anchor
  • window.document.applet
  • window.documentframe.form

WINDOW.DOCUMENT.FORM OBJECTS

  • window.document.form
  • window.document.form.textarea
  • window.document.form.text
  • window.document.form.fileupload
  • window.document.form.password
  • window.document.form.hidden
  • window.document.form.submit
  • window.document.form.reset
  • window.document.form.radio
  • window.document.form.checkbox
  • window.document.form.button
  • window.document.form.select
  • window.document.form.select.option

Comments are closed.