O'Reilly logo

JavaScript™ for Programmers: Deitel by Harvey M. Deitel - Deitel & Associates, Inc., Paul J. Deitel - Deitel & Associates, Inc.

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

10. Document Object Model (DOM): Objects and Collections

OBJECTIVES

In this chapter you’ll learn:

• To use JavaScript and the W3C Document Object Model to create dynamic web pages.

• The concepts of DOM nodes and DOM trees.

• To traverse, edit and modify elements in an XHTML document.

• To change CSS styles dynamically.

• To create JavaScript animations.

Our children may learn about heroes of the past. Our task is to make ourselves architects of the future.—Jomo Mzee Kenyatta

Though leaves are many, the root is one.—William Butler Yeats

The thing that impresses me most about America is the way parents obey their children.—Duke of Windsor

Most of us become parents long before we have stopped being children.—Mignon McLaughlin

To write it, it ...

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