IN THIS CHAPTER
The need for DHTML
How DHTML works
The document object model
Accessing an element by its ID
Using event handlers
Cross-browser compatibility issues
In a very strict, technical sense, DHTML is thought of as containing code that is targeted toward level 4 browser architecture with lots of proprietary code. For example, such a script would be written for a particular platform, use proprietary hooks and code existing only on that platform, and would be incompatible with other platforms.
However, a new term, Document Object Model (DOM) scripting has emerged to refer to scripts that follow cross-browser–compatible standards and, hence, are more compatible with more platforms.
DHTML, when used correctly, can significantly enhance the user ...