JavaScript can be divided into three parts
Different sets of standards apply to each of the three parts of JavaScript and support for the given standards for each part can vary between browsers.
The Three Parts of JavaScript
If you don't want to learn to write your own JavaScript then you can still achieve many of the same effects by using mine.
JavaScript has changed a lot since the early days. Gone are the days when event handlers needed to be in the HTML and document.write was the way to output into your page from JavaScript. Do you write your JavaScript the modern way?
JavaScript can be divided into three parts
When JavaScript doesn't provide the function we need we can always add our own.
One advantage of the JavaScript language is that you can extend the language to add your own functionality. In the eight DOM tutorial we look at how we can take advantage of this to add our own method for looking up elements in the web page that share the same class name.
getElementsByClassName
©2008 About.com, a part of The New York Times Company.
All rights reserved.