Learn how to use jQuery with other libraries.Learn how to use jQuery with other libraries.
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.