User:Jeremy/sandbox: Difference between revisions

From WikiMSK
No edit summary
No edit summary
Line 1: Line 1:
<html>
{{Test
<script type="text/javascript" src="https://cdn.datatables.net/1.11.5/js/jquery.dataTables.js"></script>
|Authors=Jeremy
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/1.11.5/css/jquery.dataTables.css">
|Additional contributors=Amanda
<usescript src="Datatables.js"/>
|Peer reviewer=Lucy
<script>
|Category=Foot and Ankle Conditions,Rheumatology,Foot and Ankle Conditions,Rheumatology
$( function ()  {
}}
$('#fancyTable').DataTable();
} );
</script>
</html>
 
{| class="wikitable" id="fancyTable"
|+ Caption text
|-
! Header text !! Header text !! Header text
|-
| Example || Example || Example
|-
| Example || Example || Example
|-
| Example || Example || Example
|}
<html>
<table id="fancyTable" 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 18:28, 3 April 2022

WELCOME TO WIKIMSK
The New Zealand Musculoskeletal Medicine Wiki