For my Drupal 6 site, I'd like to get the latest jQuery and jQuery UI from Google CDN. Although this seems like something that many people would want to do, it seems that it isn't so easy.
The Advanced CSS/JS Aggregation module seems promising, but after installing it and trying to use the Google CDN in the standard way, for example using drupal_set_html_head()
to add the following lines in <head>
, those files aren't available.
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.14/jquery-ui.min.js"></script>
How can I get the latest jQuery and jQuery UI from a CDN like Google CDN?