For my Drupal 6 site, I'd like to get the latest jQuery and jQuery-ui scripts from the Google CDN. Although this seems like something that many people would want to do, it seems that it is not so easy.
The project Advanced CSS/JS Aggregation (advagg) seems promising, but after installing it and trying to use the Google CDN in the standard way, e.g., adding
<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>
to the head of a Drupal page, those files are not available.
Any ideas for how to do this?
EDIT:
I used drupal_set_html_head() to add the above lines to the HEAD of the Drupal page where I want to use jQuery and jQueryUI. I verified that this was working by viewing the page source.