In the project which am working, we use alot of jquery plugins to make it work exactly the way we want. We use jquery 1.5 as a common version of jquery library for all the plugins. But some plugins works only on jquery library version 1.3 and few other works on jquery 1.7 version. We really don’t think using more than one version of jquery in the same project is a good idea.
How can i make all the plugins work with one jquery file ? any fixes ? any ideas ? please share with me as this is really frustrating that we couldn’t progress more in the development.
Anything that works with 1.5 should work with 1.7 as not a lot was removed to the best of my knowledge.
In terms of the plugin(s) that works only with 1.3, I’d look into replacing that… its very rare to find a jQuery plugin that doesn’t have a few other similar plugins which are more regularly updated.
As a general rule of thumb, you want to make sure that you only use plugins (as with other dependancies in code) that are updated on a regular basis. Therefore those that only support 1.3 should be ditched as soon as possible.
You should only ever use a recent copy of jQuery. Any third-party code that locks you into using an ‘old’ version isn’t worth keeping.