O'Reilly logo

Prototype Quick Reference by Sergio Pereira, Scott Raymond

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Prototype Quick Reference

Scott Raymond

Sergio Pereira

This document covers Prototype 1.4. There will be a free upgrade to the Prototype 1.5 version of this document.

image with no caption

Beijing • Cambridge • Farnham • Köln • Sebastopol • Tokyo

November 29, 2006

Abstract

This short cut provides a complete quick reference to the Prototype JavaScript framework. Prototype is an open-source library that is particularly useful to developers of dynamic Ajax applications, and to other web developers who need to work with DOM elements.

If you’re a web developer building sophisticated, user-friendly applications, you should be using Prototype. This reference gives you everything you need to use Prototype to its fullest.

Introducing Prototype

The Prototype JavaScript framework by Sam Stephenson is designed to ease development of dynamic web applications. It extends core JavaScript classes and adds new ones to provide powerful features, especially for working with Ajax and manipulating DOM elements. In many ways, it also bridges part of the gap between the JavaScript and Ruby languages—particularly by borrowing ideas from Ruby’s Enumerable module.

Prototype can be downloaded from its web site, http://prototype.conio.net/.

This chapter organizes Prototype’s functionality into three major sections: Ajax Support (wrappers for the XMLHttpRequest object enabling easy two-way communication with ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required