What is DOM Scripting?
The Browser Wars
By releasing browsers which do not uniformly support those standards, browser makers are injuring Web developers, businesses and users alike.The Web Standards Project (WaSP)Mission Statement, 1998
So how do we cast off the past? See with new eyes? Unlearn what we have learned? And just how have things changed for the better anyway? Why should we go to the trouble?
Consider these two examples of a pretty standard practice:
<a href="http://www.example.com" onclick="new window(this.href, 'newwin', ''); return false;">Blah</a>
Clicking either link would open a new window with the defined parameters. What's wrong with these approaches?
The first example uses the
Our second example offers a huge improvement over the first. Instead of fouling up the
href attribute, an