Multiple JavaScript Libraries don’t play nice?

Question by CitPat: Multiple JavaScript Libraries don’t play nice?
I am just learning JavaScript using libraries, but with the examples I have I’ve noticed they don’t play nice when more than one is used, ie. JQuery, Mochi, Scriptalicous. Is there a way to encapsulate them to just affect the area they are needed and not the entire webpage? Or am I stuck to just one at a time per page?

Best answer:

Answer by Chris B
jQuery has a noConflict function to resolve normal javascript to jQuery conflicting each other.

Hope this helps!
If you need further assistance/advice, feel free to contact me.

Give your answer to this question below!

About Admin