HOUR 14:Using Advanced DOM Features
What You’ll Learn in This Hour:
• Using the properties of DOM nodes
• Understanding DOM node methods
• Hiding and showing objects within a page
• Modifying text within a page
• Adding text to a page
• Creating a dynamic navigation tree
During this hour, you will take a closer look at the objects in the DOM, and the properties and methods you can use to control them. You will also explore several examples of dynamic HTML pages using these DOM features.
Working with DOM Nodes
As you learned in Hour 13, “Using the W3C DOM,” the DOM organizes objects within a web page into a tree-like structure. Each node (object) in this tree can be accessed in JavaScript. In the next sections ...
Get Sams Teach Yourself JavaScript in 24 Hours 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.