O'Reilly logo

JavaScript by Example, Second Edition by Ellie Quigley

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 11. Working with Forms and Input Devices

image

11.1 The Document Object Model and the Legacy DOM 0

If you recall from Chapter 1, “Introduction to JavaScript,” a document object model is a way of conceptualizing a Web page where the document is represented as a tree structure. In Chapter 10, “It’s the BOM! Browser Objects,” we addressed the browser object model (BOM). The properties and methods of different browsers vary because there is no standard for defining what a browser does. The DOM, on the other hand, deals specifically with a document, and there are now standards that dictate how the objects in an HTML (or XML) page should be represented. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required