0

我正在为一个项目使用敏捷工具包,并且我正在使用数据表作为 jquery 和 html,我想在敏捷工具包 UI 中显示数据表网格

每次我调用 html 页面初始化的agiletoolkit ui 菜单时,html 代码都可以工作,但数据表的 javascript 和 css 不起作用。

下面是问题

.datatable is not a function typeerror $(...).datatable is not a function in php

通过在 javascript 上使用 defer 解决的问题

<script type="text/javascript" src="https://cdn.datatables.net/1.11.4/js/jquery.dataTables.min.js" defer></script>
4

0 回答 0