jQuery UI now in Google’s AJAX Libraries API

Google announced recently that jQuery UI is the latest addition to their hosted AJAX Libraries API:

jQuery UI … is now hosted on our AJAX Libraries API! As usual, your users will get a performance boost when you use JQuery UI through our API, so get started by checking out the docs.

Now you can put one script tag on any page and benefit from cache, min, gzip, and google’s CDN:

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.5.2/jquery-ui.min.js"></script>

and you’ve got all jQuery UI plugins and effects. Beauty.

Posted in jQuery, jQuery UI.

3 Responses to “jQuery UI now in Google’s AJAX Libraries API”

  1. Ty Says:

    Refresh my memory, is an API key required to use the AJAX libraries. not very practical for developers who work on multiple sites, if so?

  2. Richard D. Worth Says:

    No API key needed. See http://code.google.com/apis/ajaxlibs/ for an example.

    Also, you can include the js file directly in a script tag (as I showed above), if that suits you.

  3. Brinley Ang Says:

    I like how Google allows the you to load the latest version via their google.load() release versioning wild card. Cant do that by directly including the js file though.

Leave a Reply