The main problem is that I have 2 jQuery versions working in my website:
1.2.6
and 2.0.3
Most of my scripts are using 1.2.6
but only 1 script is using 2.0.3
How can I stop this conflict between the both jQuery versions?
The main problem is that I have 2 jQuery versions working in my website:
1.2.6
and 2.0.3
Most of my scripts are using 1.2.6
but only 1 script is using 2.0.3
How can I stop this conflict between the both jQuery versions?
Use jQuery.noConflict: http://api.jquery.com/jquery.noconflict/
That allows you to intentionally use multiple libraries which override $
gracefully.
Here are some related questions on the topic of .noConflict()
for you:
Usually this is used for other libraries vs. multiple jQuery versions, but the same applies to multiple jQuery versions.