Difference between revisions of "Test"
Jump to navigation
Jump to search
Line 9: | Line 9: | ||
</head> | </head> | ||
<body> | <body> | ||
− | <table id="example" class="display | + | <table id="example" class="display" style="width:100%"> |
<thead> | <thead> | ||
<tr> | <tr> | ||
Line 15: | Line 15: | ||
<th>Position</th> | <th>Position</th> | ||
<th>Office</th> | <th>Office</th> | ||
− | <th> | + | <th>Age</th> |
<th>Start date</th> | <th>Start date</th> | ||
<th>Salary</th> | <th>Salary</th> | ||
</tr> | </tr> | ||
</thead> | </thead> | ||
− | < | + | <tbody> |
<tr> | <tr> | ||
− | < | + | <td>Tiger Nixon</td> |
− | < | + | <td>System Architect</td> |
− | < | + | <td>Edinburgh</td> |
− | < | + | <td>61</td> |
− | < | + | <td>2011-04-25</td> |
− | < | + | <td>$320,800</td> |
+ | </tr> | ||
+ | <tr> | ||
+ | <td>Garrett Winters</td> | ||
+ | <td>Accountant</td> | ||
+ | <td>Tokyo</td> | ||
+ | <td>63</td> | ||
+ | <td>2011-07-25</td> | ||
+ | <td>$170,750</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>Ashton Cox</td> | ||
+ | <td>Junior Technical Author</td> | ||
+ | <td>San Francisco</td> | ||
+ | <td>66</td> | ||
+ | <td>2009-01-12</td> | ||
+ | <td>$86,000</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>Cedric Kelly</td> | ||
+ | <td>Senior Javascript Developer</td> | ||
+ | <td>Edinburgh</td> | ||
+ | <td>22</td> | ||
+ | <td>2012-03-29</td> | ||
+ | <td>$433,060</td> | ||
</tr> | </tr> | ||
− | + | </table> <script> | |
− | </table> | ||
− | |||
$(document).ready( function () { | $(document).ready( function () { | ||
$('#myTable').DataTable(); | $('#myTable').DataTable(); |
Revision as of 05:25, 29 September 2022
Name | Position | Office | Age | Start date | Salary |
---|---|---|---|---|---|
Tiger Nixon | System Architect | Edinburgh | 61 | 2011-04-25 | $320,800 |
Garrett Winters | Accountant | Tokyo | 63 | 2011-07-25 | $170,750 |
Ashton Cox | Junior Technical Author | San Francisco | 66 | 2009-01-12 | $86,000 |
Cedric Kelly | Senior Javascript Developer | Edinburgh | 22 | 2012-03-29 | $433,060 |