top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration

Facebook Login
Site Registration

What is the use for no conflict method in jquery ?

+1 vote
102 views

Also tell me how to use this noConflict() method.

posted Sep 23, 2014 by Sidharth Malhotra

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote

jQuery.noConflict() has one simple purpose: it enables you to load multiple instances of jQuery on the same page—typically different versions of jQuery at that. You may be wondering why you would ever want to do that. There are two primary reasons. First, you may want to use a jQuery plugin that is not compatible with the newest version of jQuery, while writing most of your jQuery code on the newest version of jQuery. Second, you may have no control over what jQuery version is loaded on a page, and you need to be sure a specific version of jQuery is loaded for your jQuery code or jQuery plugin to work (such as is the case when developing public WordPress plugins). Regardless, jQuery.noConflict() can address these concerns for you.

answer Sep 25, 2014 by Deepak Negi
Similar Questions
Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Bangalore-560102
Karnataka INDIA.
QUERY HOME
...