How to use jQuery 1.4 by default on WordPress, this tricks is useful for some WordPress Developer and need using New Version of jQuery, like we all know, jQuery still using old version jQuery 1.3.x, but if you really need to using latest version pf jQuery, you can try this tricks
Open your functions.php and paste this code
if( !is_admin()){
wp_deregister_script('jquery');
wp_register_script('jquery', ("http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"), false, '');
wp_enqueue_script('jquery');
}
With this wordpress tricks, the default wordpress jQuery will be replaced by latest version 1.4 and up that taken from Google Apis, this trick is share by Sean Hayes and I got this nice trick from WP Recipes if you interested to running jQuery on WordPress with smothly, follow this jQuery Conflict Wrapper



Pingback: Aktuelles jQuery Framework in WordPress einbinden | algorhythm developer
Thanks for sharing this, this solved a issue for me
+1
Thanks! Stopped jQuery from loading twice; once the “proper way” that weighed 10x google’s api method.
Pingback: Replace jQuery of WordPress with Google AJAX Library | Silver Blog