Linode VPS Hosting, Starting at $19.95/month!

Get 2GB of Free Space from Dropbox

You are here

jQuery Update

This module facilitates an upgrade of jQuery in Drupal core and allows other contrib modules to rely on a newer jQuery version.

jQuery versions in Drupal core

Whether this module is necessary and which version of the module to use, depends on which version of jQuery you require.

"Stock" Drupal 5.x: jQuery 1.0.x (currently 1.0.4)
jQuery Update 5.x-1.x: jQuery 1.1.x (currently 1.1.2)
jQuery Update 5.x-2.x: jQuery 1.2.x (currently 1.2.6)

"Stock" Drupal 6.x: jQuery 1.2.x (Drupal 6.2 and below: 1.2.3, Drupal 6.3 and above: 1.2.6)
jQuery Update 6.x-1.x: jQuery 1.2.x (currently 1.2.6)
jQuery Update 6.x-2.x: jQuery 1.3.x (currently 1.3.2)

Drupal 5 instructions

jQuery 1.0.1 is included with Drupal 5, however it is not very well supported in the jQuery community. In order to use a most current and advanced jQuery functionality you will want to update to a newer version. This module includes John Resig's compat plugin that provides backwards compatibility for newer versions of jQuery to work with the JavaScript code in Drupal 5.

The tricky step with this module is that you will need to replace some JavaScript files in core with the files included in the jquery_update module directory. jQuery may exhibit some odd behaviors if you fail to do this and the jQuery Update module will warn you about this problem.

Installation (v2.x)

  1. Install as usual, see for further information.
  2. Copy all files from the subfolder 'misc' of this module and use them to replace the files at misc/.
  3. Repeat the previous step anytime you upgrade your Drupal 5 site to a newer version.

Please note that the installation process is different to 5.x-1.x. Read the README.txt. jquery.js is no longer the only file that needs to be replaced!

Drupal 6 instructions

Enable the module. :)

Available Releases: 
Friday, July 9, 2010 - 15:07