December 2002
Intermediate to advanced
745 pages
17h 26m
English
The Document Object Model, or DOM, is the hierarchical structure that allows you to access the different parts of a browser and the components of a document using a scripting language. The DOM itself is actually a part of the browser and not of JavaScript. JavaScript uses a browser’s DOM to navigate around the browser and document. Furthermore, any other scripting language can access the browser’s DOM. JavaScript just happens to be one of the most widely used scripting languages at this time.
The DOM is object-based. When a document is loaded into a browser, the browser creates objects corresponding to each component of the document. JavaScript is then able to access these DOM objects to get information ...