I was always downloading the jquery javascript and playing with its functions until I realised that hey… it can be done dynamically by google. Basically, it is a 2 step process:
Step 1: get the jsapi javascript from google
<script src="http://www.google.com/jsapi"></script>
Step 2: load the jquery library. this is necessary as google has a lot of other libraries…
google.load("jquery", "1");
For a complete source code sample… see below:
<script src="http://www.google.com/jsapi"></script>
<script>
// Load jQuery
google.load("jquery", "1");
google.setOnLoadCallback(function() {
$("#test").wrap("<b></b>");
});
</script>
<div id=’test’>just testing</div>





