The Flavors of DOM
Now that we have some background, let's start looking at the different kinds of DOM in Table 9-1.
Basic DOM
As you can see from Figure 9-1, this DOM has a strong emphasis on form elements. This means that forms could be validated on the client before the page was submitted to a Web server. Even more, values could be calculated and information displayed in other form fields without having to reload the page! These were pretty radical ideas at the time, and they certainly turned out to be good ones.
When IE3 came out, it was almost identical to Netscape 2 (or NN2, short for Netscape Navigator 2). For a very short time before NN3 was released, Netscape and Internet Explorer had nearly identical DOMs.
Basic DOM with Images
With ...
Get Advanced JavaScript™: Insights and Innovative Techniques now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.