Jquery DataTable基本使用
原文地址 https://www.cnblogs.com/xiashengwang/p/8087181.html 1,首先需要引用下面两个文件 <link rel="stylesheet" href="https://cdn.datatables.net/1.10.16/css/jquery.dataTables.min.css" /> <script src="https://cdn.datatables.net/1.10.16/js/jquery.dataTables.min.js"></script> 2,DataTable支持的数据类型 https://www.datatables.net/manual/data/ 2.1 数组 vardata = [ [ "Tiger Nixon", "System Architect", "Edinburgh", "5421", "2011/04/25", "$3,120" ], [ "Garrett Winters", "Director", "Edinburgh", "8422", "2011/07/25", "$5,300" ] ] 2.2 对象 [ { "name": "Tiger Nixon", "position": "System Architect", "salary": "$3,120", "start_date":