Hi,

I'm currently using Drupal 6.15 (uses jQuery 1.2.6) and I need to use jQuery 1.3.2 for my theme beacuse some jQuery UI plugins (e.g. ui.tabs.js) require that one.

But if I use this jQuery 1.3.2 locally in my theme folder some other things like collapsible area, WYSIWYG editor etc is not working with this version of jQuery.

What can I do in this case to work with both Drupal 6.15 and jQuery 1.3.2?

Comments

nevets’s picture

Have you tried using the Jquery Update module?

suvasishm’s picture

Not yet....thanks for the information.
But I see that I need jQuery Update 6.x-2.x which is currently a dev version.

suvasishm’s picture

Well,
I just gave it a try...but on installation it's gives even worse result...seems that whole jQuery stopped working.

nevets’s picture

I just tried it yesterday (the dev version) on a clean install and it is working fine.

Do you get a javascript error?

suvasishm’s picture

No I'm not getting any error....but all the jQuery related UIs are not working.
Ok, let me check once more.

suvasishm’s picture

Just found out that after installing jquery_update (dev version) no js is working including mytheme.js which defines $(document).ready(function() {...} and eventually no jquery method is being called.

Any idea why this is happening?

sovarn’s picture

Is JS aggregation on?
If there is an error in one JS script it would cause all JS to not function.

The reason i think Jquery Update is still in dev is that 1.3.2 causes some JS which have not been updated to break.

One module which i believe only works with jQ1.2 is lightbox2.

If you want to use the new 1.3.2 you may have to update manually all your contib modules js.
Main culprit would be to remove the '@' in [@attr].

suvasishm’s picture

May be that is the case...some js from some module is breaking the flow..