简体   繁体   中英

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

Uncaught TypeError: $(...).DataTable is not a function

I have tried to use jQuery.noConflict() but ain't working. What could be the possible solution?

Did you check your installation of the DataTable plug-in?

And I think the proper way of using "no-conflict" is like this:

$.noConflict();
jQuery(...).DataTable(...);

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM