Eight Weeks of Prototype: Week 1, Beginning with Prototype
Introduction
Prototype is a JavaScript framework used to help with development of cross-browser code that is easy to maintain and extend. In this first article of "Eight Weeks of Prototype" I will teach you the fundamentals of Prototype, which you will hopefully find useful for all JavaScript code you write.
Firstly, I will show you how to download and install Prototype into your own web applications.
Next I will show you how to select elements from the DOM (Document Object Model). That is, you'll learn how to access any element from your HTML document (such as a particular link or image). There are several ways to select elements, each of which will be covered.
In the last part of this article I will show you how to create new elements real-time and add them to the DOM. I will also show you how to remove elements from the DOM.



