Best practices for customization | Kentico 12 Service Pack Documentation (xperience.io)
Using jQuery
Note: The information in this section only applies to the Kentico administration interface and sites built using the Portal Engine development model, not to MVC sites.
Do NOT use the default jQuery provided in Kentico projects for your own client scripts. Newer versions of Kentico may contain a different version of jQuery, so your scripts may not work correctly after upgrading.
The Kentico jQuery is registered in No-Conflict mode under the $cmsj alias.
Best practice: Add, link and maintain your own jQuery library within the Kentico project. This gives you full control over the jQuery version and helps protect your custom scripts from breaking when upgrading Kentico.
标签:jQuery,12,customization,Service,Kentico,io,your,Best From: https://www.cnblogs.com/chucklu/p/17405543.html