jQuery No conflict Mode
Written by Saran on
December 27, 2011Sometimes we need to run two or three JavaScript libraries. And many other JavaScript libraries use $ character as their variable or function name. Take an example of Mootool and jQuery library, both use $. If you try to load these both library, this will certainly cause conflict when you try to run some script in your page.
But since $ symbol is just an alias for jQuery, you can use $.noConflict(); method to run another JavaScript library with jQuery. Let's look at basic usage of jQuery $.noConflict.[cc lang="jquery"] [/cc]