Unit 7.3. The Document Object Model
The DOM
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 ...
Get Oracle® Web Application Programming for PL/SQL® Developers now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.