Best practices for customization | Kentico 12 Service Pack Documentation (xperience.io)

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.

 

作者:Chuck Lu    GitHub    
posted @   ChuckLu  阅读(7)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 全程不用写代码,我用AI程序员写了一个飞机大战
· DeepSeek 开源周回顾「GitHub 热点速览」
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· 记一次.NET内存居高不下排查解决与启示
· 白话解读 Dapr 1.15:你的「微服务管家」又秀新绝活了
历史上的今天:
2022-05-16 How to CTRL+ALT+Delete in Remote Desktop
2022-05-16 byte + byte = int... why?
2022-05-16 炉石传说 酒馆战棋 娜迦随从
2019-05-16 VMware设置NAT网络
2019-05-16 Podman and Buildah for Docker users
2019-05-16 Goodbye Docker and Thanks for all the Fish
2019-05-16 2019-05-16 Ubuntu使用
点击右上角即可分享
微信分享提示