Questions tagged [google-ajax-libraries]

15 questions
1028
votes
23 answers

Best way to use Google's hosted jQuery, but fall back to my hosted library on Google fail

What would be a good way to attempt to load the hosted jQuery at Google (or other Google hosted libs), but load my copy of jQuery if the Google attempt fails? I'm not saying Google is flaky. There are cases where the Google copy is blocked…
Nosredna
  • 74,873
  • 15
  • 91
  • 122
454
votes
6 answers

Downloading jQuery UI CSS from Google's CDN

I am planning on using Google to download the jQuery lib for both UI and Core. My question is, do they allow me to download the CSS for it or should I have to host it myself? Also if I use Google to load how should I load other plugins? Can I…
coool
  • 7,725
  • 12
  • 50
  • 77
242
votes
16 answers

Where do you include the jQuery library from? Google JSAPI? CDN?

There are a few ways to include jQuery and jQuery UI and I'm wondering what people are using? Google JSAPI jQuery's site your own site/server another CDN I have recently been using Google JSAPI, but have found that it takes a long time to setup an…
Darryl Hein
  • 134,677
  • 87
  • 206
  • 257
4
votes
4 answers

Injecting jQuery into a page fails when using Google AJAX Libraries API

I'd like to inject jQuery into a page using the Google AJAX Libraries API, I've come up with the following solution: http://my-domain.com/inject-jquery.js: ;((function(){ // Call this function once jQuery is available var func = function() { …
Jake McGraw
  • 52,590
  • 10
  • 46
  • 62
4
votes
1 answer

Implementing fallback from Google AJAX Libraries API to local jQuery

After looking up the advantages and disadvantages of using Google's AJAX Libraries API instead of using jQuery locally, I saw that someone wrote in an answer (here on Stack Overflow, of course) that it's possible to get around the downtime that…
Maxim Zaslavsky
  • 17,149
  • 30
  • 100
  • 167
4
votes
1 answer

Google AJAX Libraries CDN for jQuery

I have a page where I need SWFObject, jQuery and Google Maps API. I thought that I could use the benefits of using: Or is this…
Yarin
  • 144,097
  • 139
  • 361
  • 489
1
vote
0 answers

ejabberd login error with interface

I am used jaxl library to connect to my server openfire. I am get success all to login and sendMessage by used command line. Now i want to make a interface for loin and pass the JID and Password. the result is connected session but it's can't direct…
sk juli kaka
  • 420
  • 1
  • 5
  • 19
0
votes
1 answer

Google Libraries (mootools) not working with Google Script web app

I have a simple Google Script project. The code is: function doGet() { return HtmlService.createHtmlOutputFromFile('main'); } There is also main.html (where I am having the problem):