0

I am on jQuery 3.2

I need to use only for a specific HTML block jQuery 1.7

Is there a way in jQuery to specify which jQuery version to call for a specific HTML element.

Or if I have to user the noconflict, could anyone explain in the details how it works? I have never understood it!

Thanks

DiegoP.
  • 45,177
  • 34
  • 89
  • 107
  • possible duplicate of [Can I use multiple versions of jQuery on the same page?](http://stackoverflow.com/questions/1566595/can-i-use-multiple-versions-of-jquery-on-the-same-page) – Felix Kling Jan 07 '12 at 09:48

2 Answers2

1

See this jQuery forum posting about how to put multiple versions of jQuery on the same page: http://forum.jquery.com/topic/multiple-versions-of-jquery-on-the-same-page and also this previous SO post: Can I use multiple versions of jQuery on the same page?.

I must say that this seems like a total hack that is quite inefficient. You should fix one block of code to use the same jQuery version as the other block and only load one version of jQuery.

FYI, these two posts came right up when I Googled for "multiple versions of jquery loaded" and there are lots of other resources about this topic in that same search.

Community
  • 1
  • 1
jfriend00
  • 683,504
  • 96
  • 985
  • 979
0

I am not sure but i think you must change $ shortform of jquery comments for one of them.

ex :

$ for Jquery 1.4 $$ for Jquery 1.6

Ali Foroughi
  • 4,540
  • 7
  • 42
  • 66