Prototype js library
Prototype
An object-oriented JavaScript framework
Prototype is a JavaScript framework that aims to ease development of dynamic web applications. It offers a familiar class-style OO framework, extensive Ajax support, higher-order programming constructs, and easy DOM manipulation.
Using Prototype
To use Prototype in your application, download the latest release from the Prototype web site (http://prototypejs.org/download) and copy dist/prototype.js
to a suitable location. Then include it in your HTML like so:
<script type="text/javascript" src="/path/to/prototype.js"></script>
Documentation http://api.prototypejs.org/
Tutorials
This area contains narrative documentation you can use to discover Prototype.
-
Defining classes and inheritance
Learn how to define classes and subclasses in Prototype and how to make supercalls.
-
How Prototype extends the DOM
Learn how Prototype adds custom methods to DOM element nodes — and how you can define your own custom methods.
-
Introduction to Ajax
Learn how Prototype simplifies the most common kinds of Ajax requests.
-
Introduction to JSON
Learn about Prototype's support for JSON encoding and decoding.
-
Event delegation
Learn about Prototype's support for event delegation: an advanced technique for event-driven programming.
-
Measuring elements' dimensions and offsets
Learn how Prototype makes it easy to get pixel measurements of elements.