46: Traversing the DOM

Forums » Dev.Opera » Archived Article Discussions

This topic has been closed. No new entries allowed.

Reason: You can now post comments on articles on Dev Opera

Forum rules and guidelines

You need to be logged in to post in the forums. If you do not have an account, please sign up first.

3. February 2009, 06:38:27

mikewest

Posts: 0

46: Traversing the DOM

When you are using JavaScript to create dynamic effects on a web page, one of the most important things to understand is how to target the elements you want to affect. In this article we look at using JavaScript to select specific HTML elements in the HTML Document Object Model (or DOM).

( Read the article )

3. February 2009, 11:04:14

dantesoft

No, really

Posts: 1262

The article should mention in the Direct access section the need to check for nodeType on arbitrary HTML, as some (most?) browsers treat an empty space between tags as a proper node.

Note to the editor: there's a spurious link to (ADD TITLE OF NEXT ARTICLE) and 2 typos: "and it’s less interesting sibling" & "a child of it’s own"

16. March 2009, 14:25:12

stelt

Posts: 59

typo: voil à

6. April 2009, 23:44:53

Opera Software

chrismills

Posts: 379

Originally posted by dantesoft:

The article should mention in the Direct access section the need to check for nodeType on arbitrary HTML, as some (most?) browsers treat an empty space between tags as a proper node.



Can you provide me with a short text snippet to slot into the article?


Originally posted by dantesoft:

Note to the editor: there's a spurious link to (ADD TITLE OF NEXT ARTICLE) and 2 typos: "and it’s less interesting sibling" & "a child of it’s own"



All typos fixed - thanks so much guys.
Chris Mills
Developer Relations Manager
Editor, dev.opera.com and labs.opera.com

Forums » Dev.Opera » Archived Article Discussions