0

I was looking for this topic but doesn't found much.

There are many places asking the question "how to put different jquery versions in the same page" and know $.noConflict() is the solution.

But what if I want two different versions of jqueryUI, fancybox or any other plugin in the same page? Is there any solution?

Thanks.

acanimal
  • 4,650
  • 3
  • 30
  • 40
  • Your question is answered on StackOverflow here: http://stackoverflow.com/questions/528241/how-do-i-run-different-versions-of-jquery-on-the-same-page – Harry B Aug 25 '11 at 12:52
  • sorry, but it isn't answered. I'm not asking for two jquery versions I'm asking for two jquery-pluugin, for example fancybox 1.0 and fancybox 1.3 in the same page. – acanimal Aug 25 '11 at 20:48
  • Why do you need two versions of jQuery and two versions of a plugin such as UI? – Harry B Sep 05 '11 at 14:41
  • Because I want to inject some JS code and also jQueryUI code and maybe the target page has a different version of jQueryUI on it. – acanimal Sep 08 '11 at 19:06
  • Well then I would clear out the old version of jQuery, if one exists and use it for your injected code. do window.$ = null; // then inject jQuery here. – Harry B Sep 08 '11 at 20:33

0 Answers0