How to multiple version of jQuery?

Yes. You can use multiple versions of jQuery on the same page. To avoid any kind of conflict, use the jQuery.noConflict() method.

While executing code, $.noConflict() method to give control of the $ variable back to whichever library first implemented it.

run this source code Try it Yourself

Full Source

jQuery.noConflict() method

jQuery.noConflict() method allows you to use multiple frameworks , while using jQuery. The noConflict() method releases the hold on the $ shortcut identifier, so that other scripts can use it. In jQuery's case, $ is just an alias for jQuery, so all functionality is available without using $. In case of multiple versions of jQuery are loaded (which is not recommended), calling $.noConflict(true) from the second version will return the globally scoped jQuery variables to those of the first version.

 (C) 2023    Founded by raps mk
All Rights Reserved. All other trademarks are property of their respective owners.
SiteMap  | Terms  | About