Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialVic Mercier
3,276 PointsAre all plugins able to use the same jQuery version?
I am wondering that because if I use two plugins for example and my first plugin might not use the same version as the second.
1 Answer
Steven Parker
231,236 PointsThe Plug-in provide will generally indicate what version dependencies the plug-in has in the documentation. With a little luck, any that you wish to use will at least have some overlap in the version ranges they require.
Vic Mercier
3,276 PointsWhat do you mean by overlap?
Steven Parker
231,236 PointsLet's say one plug-in is documented to work with versions 3.2 - 3.7 and another works with 3.5 - 3.9. The :"overlap" would be versions 3.5, 3.6, and 3.7. Any of those versions would work with both plug-ins.
Matthew Long
28,407 PointsMatthew Long
28,407 PointsjQuery isn't fully backwards compatible. It does a nice job overall but sometimes you will run into bugs if a plugin was made with an old version in mind. This is true about almost any software and programming language. Often times, depending on the popularity of the plugin, the creators will update it accordingly. Check their docs for this. Other times you might have to do the debugging on your own.