Chapter 19. The prototype.js Toolkit

In this lesson you will learn about the prototype.js JavaScript library and how it can reduce the work required for building capable Ajax applications.

Introducing prototype.js

Part IV, “Commercial and Open Source Ajax Resources,” looks at some available code libraries and frameworks for Ajax development.

We begin this lesson with Sam Stephenson’s prototype.js, a popular JavaScript library containing an array of functions useful in the development of cross-browser JavaScript routines, and including specific support for Ajax. You’ll see how your JavaScript code can be simplified by using this library’s powerful support for DOM manipulation, HTML forms, and the XMLHTTPRequest object.

The latest version of the prototype.js ...

Get SAMS Teach Yourself Ajax in 10 Minutes now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.