Sunday 24 August 2008

AJAX Libraries API

The "AJAX Libraries API" is a google-sponsored initiative that hosts key javascript libraries: -

It handles the cache headers etc, and more importantly saves your bandwidth!

To use them, simply refer to them in your HTML. For example, to load Prototype version 1.6.0.2, place the following in your HTML:


<script src="http://ajax.googleapis.com/ajax/libs/prototype/1.6.0.2/prototype.js"></script>

No comments:

Post a Comment