Chapter 9
The Document Object
Key Skills & Concepts
• Defining the Document Object
• Using the Document Object Model
• Using the Properties of the Document Object
• Using the Methods of the Document Object
• Using DOM Nodes
• Creating Dynamic Scripts
Now that you know how objects work and how to use predefined JavaScript objects, it is time to look at some of the major predefined objects in JavaScript.
This chapter covers the document object, which helps you to gather information about the page that is being viewed in the browser. As you will find out in this chapter, some of the document object’s properties and methods can be used to get information about the document or to change information about the document. You will also be ...
Get JavaScript: A Beginner's Guide, Fifth Edition, 5th 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.