User:Jeremy/sandbox: Difference between revisions
From WikiMSK
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<html> | |||
<head> | |||
<script type="text/javascript" charset="utf8" src="https://wikimsk.org/w/resources/assets/customisations/jquery.dataTables.min.js"/> | |||
<link rel="stylesheet" type="text/css" src="https://wikimsk.org/w/resources/assets/customisations/jquery.dataTables.css"/> | |||
<script> | |||
} | $(document).ready( function () { | ||
$('#table_id').DataTable(); | |||
} ); | |||
</script> | |||
<body> | |||
<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> | |||
</body> | |||
</html> |
Revision as of 05:04, 5 April 2022
Column 1 | Column 2 |
---|---|
Row 1 Data 1 | Row 1 Data 2 |
Row 2 Data 1 | Row 2 Data 2 |