Rough Guide To The DOM (part 2) (Page 1 of 8 )
In the first part of this article, I took you through the basics of navigating an HTML document via the DOM, and explained the various methods and collections available to you. If you understood all that (and I hope you did), you should now have a pretty clear idea of how to manipulate a typical HTML document, and change interface elements on the fly.
Over the next few pages, I'm going to dig a little deeper into the DOM, with illustrations of how the DOM interfaces with tables, forms, images and frames. I'll also be discussing some of the methods available to add (and modify) nodes to the DOM tree through JavaScript, and point you to some of the Web's better resources on the subject.
Let's get cracking!
This article copyright Melonfire 2001. All rights reserved.Next: Making The Swap() >>
More DHTML Articles
More By Vikram Vaswani, (c) Melonfire