views:

708

answers:

3

Hi!

I want to upgrade jQuery inside my drupal installation. At the moment I have jQuery 1.2.6 and I would like to upgrade it to jQuery 1.4

I guess some Drupal modules still depends on the old jQuery version. I've tried jquery_update module to upgrade jQuery, but it didn't work. It asked to replace the original Drupal files in the "misc" folder with the new ones, but it didn't work.

Anyway, I was wondering if there is a better method instead of using another module

thanks

+2  A: 

Take a look at the jQuery update module

googletorp
I've not had any trouble with jQuery Update, if you do you should report the bugs to the modules that don't work with it.
alxp
+1  A: 

the jquery update module doesn't install jquery 1.4. you need to manually update the jquery.js.

30equals
so, I should use jquery update module and then manually download jquery 1.4 and overwrite the old one ?
Patrick
yeah, that's the best way for now.
30equals
+3  A: 

jQuery 1.4 breaks quite a few ajax bits in the admin UI, which are pretty essential. Luckily you can get around this by loading a different version of jQuery depending on what page you are currently viewing.

I recommend using the jQuery update module and modifying it with one of the solutions here (#7 or #11):

http://drupal.org/node/775924

jsims281