Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Part IV. Getting Started with Dynamic We... > Chapter 15. Working with the Documen...

Chapter 15. Working with the Document Object Model (DOM)


WHAT YOU’LL LEARN IN THIS CHAPTER:

• How the W3C DOM standard makes dynamic pages easier to control

• The basics of the window DOM object

• The basics of the document DOM object

• The basics of the history DOM object

• The basics of the location DOM object

• How to work with nodes, parents, children, and siblings

• How to access and use the properties of DOM nodes

• How to access and use DOM node methods

• How to control positioning with JavaScript

• How to hide and show objects with JavaScript

• How to modify text within a page with JavaScript

• How to add text to a page with JavaScript


The previous chapter introduced you to the basic concepts of programming in JavaScript; this chapter will help you better understand the Document Object Model (DOM), which is the framework that properties and method of JavaScript explicitly control so that you may develop rich user experiences.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial