[英]jQuery.noConflict() not working in Umbraco backoffice
I am trying to create package using angular and c#, I have a custom section in my umbraco backoffice and i am trying to display data using jQuery Datatable in that section, but i am getting I am trying to create package using angular and c#, I have a custom section in my umbraco backoffice and i am trying to display data using jQuery Datatable in that section, but i am getting
Uncaught TypeError: $(...).DataTable is not a function
未捕获的类型错误:$(...).DataTable 不是 function
I have tried to use jQuery.noConflict()
but ain't working.我曾尝试使用
jQuery.noConflict()
但不起作用。 What could be the possible solution?可能的解决方案是什么?
Did you check your installation of the DataTable plug-in?您是否检查了 DataTable 插件的安装?
And I think the proper way of using "no-conflict" is like this:我认为使用“无冲突”的正确方法是这样的:
$.noConflict();
jQuery(...).DataTable(...);
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.