How to include jquery from URL in custom module? I've got a question about module building and including JS.
I'm working on a D6 custom module, and for JS files I'm including from within my mod
    drupal_add_js(drupal_get_path('module', 'ingsavingsmap') .'/js/effects.js');
works just fine.

The question I have is: I'm trying to include jquery from the jquery site.
I know:
    drupal_add_js(drupal_get_path('module', 'ingsavingsmap') .'http://code.jquery.com/jquery-        latest.js');

is very wrong for a number of reasons, but I don't know how to go about adding JS from a URL.
Also, is it advisable to event be doing it this way? or should I just keep it all within the mod.

Any help or direction to documentation would be appreciate
Thanks!
Steph
D7

For those who need to do this in D7, its as simple as

drupal_add_js('http://example.com/example.js', 'external');


D6

I can not take credit for this example but found this to be rather nice and easy way of dealing with external js files.  

$external_js = 'http://www.example.com/a.js';
drupal_add_js('document.write(unescape("%3Cscript src=\''. $external_js . '\' type=\'text/javascript\'%3E%3C/script%3E"));', 'inline');


Found this via http://www.wootenswebdesign.com/load-external-js-file-drupal-6