IN THIS CHAPTER
The Need for DHTML
How DHTML Works
The Document Object Model
Using Event Handlers
Accessing an Element by Its ID
Cross-Browser Compatibility Issues
Form Automation: Check boxes
In a very strict, technical sense, DHTML is thought of as containing code that is targeted toward level 4 browser architecture with a lot 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, Document Object Model (DOM) scripting has emerged to enable scripts that follow cross-browser–compatible standards, and hence are more compatible with more platforms.
DHTML, when used correctly, can significantly enhance the user experience. ...