1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
|
<script type="text/javascript" src="js/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="js/jquery.tablesorter.js"></script>
<script type="text/javascript">
$(document).ready(function()
{
$("table").tablesorter();
}
);
</script>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<table class="tablesorter" cellspacing="1">
<thead>
<tr>
<th>test</th>
<th>test2</th>
</tr>
</thead>
<tbody>
<tr>
<td>a</td>
<td>4.00</td>
</tr>
<tr>
<td>c</td>
<td>2.00</td>
</tr>
<tr>
<td>d</td>
<td>2030.00</td>
</tr>
<tr>
<td>b</td>
<td>3.00</td>
</tr>
</tbody>
</table>
</body>
</html> |
Partager