你能帮我如何在 Metro UI Framework 的控制选项卡中使用数据表吗?使用此框架的数据表:http ://www.datatables.net/ 。我试图在 Metro UI 的控制选项卡中实现它(http://metroui.org.ua/tab-control.html)。但是无法显示数据表,并且在 java 脚本中出错。下面的代码:
<script src="js/jquery/jquery.min.js"></script>
<script src="js/jquery/jquery.dataTables.js"></script>
<script src="js/jquery/jquery.widget.min.js"></script>
<script src="js/metro/metro.min.js"></script>
<script src="js/metro/metro.min.js"></script>
<script src="js/metro/metro-tab-control.js"></script>
<script>
$(document).ready(function() {
$('#example').dataTable( {
"paging": false,
"ordering": false,
"info": false
} );
} );
</script>
<div class="tab-control" data-role="tab-control">
<ul class="tabs">
<li class="active"><a href="#_page_1">Anggota PTK</a></li>
<li><a href="#_page_2">Peserta Didik</a></li>
<li class="place-right"><a href="#_page_5"><i class="icon-plus-2"></i> Tambah Akun</a></li>
</ul>
<div class="frames">
<div class="frame" id="_page_1"><?php include "admin_viewdata_ptk.php";?></div>
<div class="frame" id="_page_2"><?php include "admin_viewdata_peserta.php";?></div>
<div class="frame" id="_page_5"><?php include "admin_user_adduser.php";?></div>
</div>
</div>
请给我线索或解决方案。谢谢