19 Jun 2010 @ 8:18 PM 

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.:

?View Code JAVASCRIPT
  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/

Posted By: Zayin
Last Edit: 19 Jun 2010 @ 08:18 PM

EmailPermalink
Tags
Tags: , ,
Categories: Uncategorized


 

Responses to this post » (One Total)

 
  1. zayinkrige says:

    New Blog Post -> Google AJAX Libraries API – http://www.zayinkrige.com/google-ajax-li

Post a Comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.


 Last 50 Posts
 Back
Change Theme...
  • Users » 1
  • Posts/Pages » 38
  • Comments » 61
Change Theme...
  • VoidVoid « Default
  • LifeLife
  • EarthEarth
  • WindWind
  • WaterWater
  • FireFire
  • LightLight

Links



    No Child Pages.

Portfolio



    No Child Pages.