我尝试初始化DataTable,但不能。使用dataTable需要哪些文件?
<style type="text/css" title="currentStyle">
@import "demo_page.css";
@import "demo_table.css";
</style>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="jquery.dataTables.js"></script>
有什么不对?
表的结构是否需要?
是否需要数据?
<table id="example"> <thead> <tr> <th>Column 1</th> </tr> </thead> <tbody> <tr> <td>data</td> </tr> </tbody> </table>
请发布HTML表格 – 472084 2012-02-06 14:21:11
我会检查一下。谢谢。 – Spirit 2012-02-06 14:24:46
在我看来,有头文件泄漏。我将他们的标题重新制作成我的。结果是[它之前有效]它[在我的更改后不起作用]。 – Spirit 2012-02-06 15:16:03