PhpRiot
Download Article
Download this article or the entire “Eight Weeks of Prototype” series with all listings and files.




More information
Related Books
JavaScript: The Good Parts

JavaScript: The Good Parts

Most programming languages contain good and bad parts, but JavaScript has more than its share...

jQuery: Novice to Ninja

jQuery: Novice to Ninja

jQuery: Novice to Ninja is a compilation of best-practice jQuery solutions to meet the most...
PhpRiot Newsletter
Your Email Address:

More information

Eight Weeks of Prototype: Week 1, Beginning with Prototype

Summary

In this, the first of eight articles about Prototype, we have covered many of the important fundamentals that you will need to know for more advanced Prototype development.

We began the article by downloading and installing Prototype and learning where to find the API documentation.

Next we learned how to select elements from the Document Object Model (DOM) using the $(), $$(), select(), up(), down(), next() and previous() methods.

After this we learned how to create new elements, and we looked at different ways of inserting those elements into the DOM, using the insert() method.

Finally, we learned how to remove elements from the DOM by using the remove() method.

In the next article of "Eight Weeks of Prototype", I will teach you about the functionality Prototype adds to DOM elements, and how to manipulate elements in different ways using these added functions.

Other Options

In This Article