Chapter Fifteen: 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 of 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 ...

Get Designing with Web Standards, Third Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.