PhpRiot
Become Zend Certified

Prepare for the ZCE exam using our quizzes (web or iPad/iPhone). More info...


When you're ready get 7.5% off your exam voucher using voucher CJQNOV23 at the Zend Store

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