The AJAX Libraries API provides your applications with stable, reliable, high speed, globally available access to all of the most popular, open source JavaScript libraries. Your application can use Google’s very flexible loader google.load() or direct, path based access to the scripts.
Because Google has edge servers in most countries, your users will be loading the javascript from a local server, rather than your webserver.
Warning: You need your own API key. In the example below, replace “INSERT-YOUR-KEY” with your own, unique key. Without your own key, these examples won’t work.
<script type="text/javascript" src="http://www.google.com/jsapi?key=INSERT-YOUR-KEY"></script> |
Next, you load the libraries is by using google.load() to name a library and your prefered version. E.g.:
google.load("jquery", "1.4.2"); google.load("jqueryui", "1.8.2"); |
You can also link directly to the source files like this
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> |
for more information see, http://code.google.com/apis/ajaxlibs/documentation/

Categories
Tag Cloud
Blog RSS
Comments RSS
Last 50 Posts
Back
Void « Default
Life
Earth
Wind
Water
Fire
Light 
New Blog Post -> Google AJAX Libraries API – http://www.zayinkrige.com/google-ajax-li…