我正在使用css
对于数据表
请帮助我解决我想实现表格排序的问题。谢谢!
我有这样的错误。
完整代码:
<!DOCTYPE HTML>
<html lang="en">
<head>
<meta charset="utf-8">
<link href="/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css">
<link href="https://github.com/DataTables/DataTables/blob/master/media/css/jquery.dataTables.css" rel="stylesheet" type="text/css">
<script src="http://code.jquery.com/jquery-1.8.2.js"></script>
<script src="https://github.com/DataTables/DataTables/blob/master/media/js/jquery.dataTables.js"></script>
<script>
$(document).ready(function() {
$('#example').dataTable( {
"sDom": "<'row'<'span6'l><'span6'f>r>t<'row'<'span6'i><'span6'p>>"
});
$.extend( $.fn.dataTableExt.oStdClasses, {
"sWrapper": "dataTables_wrapper form-inline"
});
});
</script>
</head>
<body>
<div class="container">
<div class="span12">
<table id="example" class="data-results table table-striped table-hover table-bordered tablesorter">
</table>
</div>
</div>
</body>
</html>