Document Object Model (DOM)
Table of contents
History: Dynamic HTML
Problems
Additional Requirements
Example XHTML Page
Logical Structure
DOM Objects
DOM Levels
XML vs. HTML
Available Methods
Traversal methods
Example for Traversal Methods: Rewriting an Attribute
The Program
Rewriting the Element's Content
Example: Rewriting a Page
Complete Example
Changing Document Structure
Change the Structure
From the Example
Sorting a Table
Non HTML (SVG) Example
Namespace control (DOM Level 2)
Event Management (DOM Level 2)
Event Listeners
Event Propagation: Capture
Event Propagation: Bubbling
Event Types
Other usage of DOM