Working with AJAX and the Prototype JavaScript Library
(Page 1 of 4 )
In the last few months, the Prototype JavaScript library has become very popular with web developers. If you want to take your first steps with it, you should begin reading this article. Welcome to the second part of the series “Introducing the Prototype JavaScript library.” This series shows you how to put this powerful package to work for you to facilitate the development of your own JavaScript applications.
Before I continue exploring the neat features that come packaged with Prototype, let me recapitulate briefly the topics that I discussed in the previous article. In that way you will understand more easily the group of themes that I plan to cover in this tutorial.
As you'll certainly remember, in the first part of the series I started explaining how to use some of the most popular functions included with this library. I touched on the $, $A, and $H functions, as well as an additional one, called $F. If you're anything like me, you found the $ function extremely versatile for retrieving and manipulating multiple elements of the same web document. The others also have great potential, particularly if you need to work on a daily basis with arrays or online forms.
Of course the set of helpful functions that I mentioned above are simply a small sample of all that Prototype can do for you, which implies that there's still a long way to go when it comes to exploring its remarkable capabilities. In this second article of the series I'm going to show you how to take advantage of some objects incorporated into this library to simplify the development of AJAX-based applications and to facilitate working with array iterators.
Now that you know the topics that will be discussed in this tutorial, let's move forward and continue exploring the neat capacities of this powerful JavaScript library. Prototype is waiting for us!
Next: Using the Prototype/AJAX combination >>
More JavaScript Articles
More By Alejandro Gervasio