Use datatables library
This commit is contained in:
parent
7a497b1d4e
commit
588a1d0a90
28
index.html
28
index.html
@ -1,22 +1,28 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>Widuri Client</title>
|
||||
<link rel="stylesheet" href="//cdn.datatables.net/2.3.2/css/dataTables.dataTables.min.css">
|
||||
</head>
|
||||
<body>
|
||||
<table>
|
||||
<tr>
|
||||
<th>ID<th>
|
||||
<th>Name<th>
|
||||
<th>Phone<th>
|
||||
</tr>
|
||||
<table id="table-list">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>ID</th>
|
||||
<th>Name</th>
|
||||
<th>Phone</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tr>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tbody></tbody>
|
||||
|
||||
</table>
|
||||
|
||||
<script src="https://code.jquery.com/jquery-3.7.1.min.js"></script>
|
||||
<script src="//cdn.datatables.net/2.3.2/js/dataTables.min.js"></script>
|
||||
<script src="js/carrack.js"></script>
|
||||
<script>
|
||||
var table = $('#table-list').DataTable({})
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Reference in New Issue
Block a user