Head First JavaScript by Michael Morrison

Head First JavaScript by Michael Morrison

Author:Michael Morrison [Michael Morrison]
Language: eng
Format: epub, pdf
Tags: COMPUTERS / Web / Page Design
ISBN: 9781449368579
Publisher: O'Reilly Media
Published: 2009-06-29T16:00:00+00:00


Climbing the DOM tree with properties

Most interactions with the DOM begin with the document object, which is the topmost node in a document’s node tree. The document object offers useful methods like getElementById() and getElementsByTagName(), and quite a few properties too. Many of the properties of the document object are available from every node in a tree. Some of these objects even allow you to navigate to other nodes. This means node properties can be used to navigate through the node tree.

Node properties are handy for traversing through nodes in the DOM tree.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.