Chapter 15. Working with DOM-Based Scripts

In the beginning, Netscape created JavaScript, and it was good. Then Microsoft begat JScript, and it was different. Vast armies clashed by night and the flames of DHTML threatened to engulf all. Salvation arrived with the birth of a standard Document Object Model (DOM), whose first manifestation was called DOM Level 1 (www.w3.org/TR/1998/REC-DOM-Level-1-19981001). And it was very good indeed. For the first time, the W3C DOM gave designers and developers a standard means of accessing the data, scripts, and presentation layers with which their sites were composed.

In the years since, the W3C has continued to update its DOM specs, and, at the urging of The Web Standards Project, browsers have come to support ...

Get Designing With Web Standards, Second Edition 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.