Using jQuery with other Libraries:
Let's see how we can use jQuery with other libraries.
In your application if there is requirement of including other libraries such as prototype.js, YUI or mootools with jQuery, you can use the .noConflict() method of jQuery.
In jQuery $ is an alias for jQuery, so you can use jQuery() for accessing the jQuery methods. The following code example shows how you can use other libraries with jQuery:
jQuery.noConflict(); //For using other libraries
// Use jQuery using function jQuery(...)
//write your code here
// Use Prototype with $(...), etc.
In this we have studied how to use jQuery with other libraries.
Learn from experts! Attend jQuery Training classes.
We have 1000s of tutorials on our website. Search Tutorials tutorials on our website.
Posted on: September 2, 2010 If you enjoyed this post then why not add us on Google+? Add us to your Circles