Rough Guide To The DOM (part 2)

< !intro>Now that you know the theory behind the new DOM, it’s time to take off the gloves and get your hands dirty. In this article, find out how the new rules apply to old favourites like image swaps, form validation and frame navigation, and then learn how to use ordinary JavaScript to add and remove elements from the document tree on the fly.< !endintro>
Continue reading

Rough Guide To The DOM (part 1)

< !intro>It’s the bane of Web developers everywhere – conflicting standards, browser incompatibilities, and code that changes every time a new browser version hits the Web. But fear not – charging in on a white steed comes a heroic knight, clad in the attire of the new W3C DOM and armed with the tools to make this nightmare end forever. Read on to find out how the new DOM finally brings some standards to the decidedly non-standard world of the Web.< !endintro>
Continue reading