User:Jeremy/sandbox: Difference between revisions
From WikiMSK
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<html> | |||
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/1.11.5/css/jquery.dataTables.css"> | |||
<script type="text/javascript" charset="utf8" src="https://cdn.datatables.net/1.11.5/js/jquery.dataTables.js"></script> | |||
<script>$(document).ready( function () { | |||
$('#table_id').DataTable(); | |||
} );</script> | |||
<table id="table_id" class="display"> | |||
<thead> | |||
<tr> | |||
<th>Column 1</th> | |||
<th>Column 2</th> | |||
</tr> | |||
</thead> | |||
<tbody> | |||
<tr> | |||
<td>Row 1 Data 1</td> | |||
<td>Row 1 Data 2</td> | |||
</tr> | |||
<tr> | |||
<td>Row 2 Data 1</td> | |||
<td>Row 2 Data 2</td> | |||
</tr> | |||
</tbody> | |||
</table> | |||
</html> |
Revision as of 07:52, 3 April 2022
Column 1 | Column 2 |
---|---|
Row 1 Data 1 | Row 1 Data 2 |
Row 2 Data 1 | Row 2 Data 2 |