You can get rid of the default install of jQuery by putting this in
your functions.php. It will pull in jQuery from Google's CDN, change
the version number as you see fit. It will leave the included version
of jQuery for your admin panel, so that doesn't break. Be cautious of
compatibility with other plugins that may use javascript.
/*
Google CDN jQuery
*/
add_action('init', 'yoursite_jqueryLoader');
function yoursite_jqueryLoader() {
if (!is_admin()) {
wp_deregister_script( 'jquery' );
wp_register_script( 'jquery', '
http://ajax.googleapis.com/ajax/libs/
jquery/1.6.2/jquery.min.js', '', '1.6.2');
}
}
Then use this anywhere before the wp_head() declaration to inject it
into your page.
wp_enqueue_script( 'jquery' );
wp_head(), wp_footer(), and wp_enqueue_script are a super powerful
little combination if you are a heavy javascript user.
Good Luck.
> Are you using wp_enqueue_script to load your script?
http://codex.wordpress.org/Function_Reference/wp_enqueue_script