I created a test page for this a while ago when someone else asked
about this.  I believe the context was that they were using a
framework which had jQuery 1.0.4 bundled in and they wanted to use
jQuery UI, which required jQuery 1.2.

You can see the method I used at 
http://scottsplayground.com/temp/jquery_versions/
(you have to view source, there's no actual content on the page).
You'll notice that in my implementation, I left the old version
(1.0.4) as jQuery.  I did this so that any other plugins loaded by the
framework would go to the version it expected.  This would be the
trickiest part of using multiple versions of jQuery at the same time.
Since plugins will always add to whichever version is contained in the
jQuery variable, you'll need to do some shuffling if you're going to
be dynamically loading plugins for multiple versions.

On Feb 1, 4:05 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> Using jQuery with other libraries is easy:
>
> http://docs.jquery.com/Using_jQuery_with_Other_Libraries
>
> What I'd like to do is do inject jQuery in pages where jQuery already
> might exists and even might exist in some other version. Is there a
> way to do this safely or do I need to rename the main object? Any
> Ideas?
>
> mot

Reply via email to