Skip to content

Instantly share code, notes, and snippets.

@rickschmidt
Created September 6, 2014 17:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rickschmidt/8e833ea5614d5b5ff8b6 to your computer and use it in GitHub Desktop.
Save rickschmidt/8e833ea5614d5b5ff8b6 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html>
<head>
<script src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
<link rel="stylesheet" href="http://cdn.datatables.net/1.10.2/css/jquery.dataTables.min.css"/>
<script src="http://cdn.datatables.net/1.10.2/js/jquery.dataTables.min.js"></script>
</head>
<table id="dtTable" ">
<thead>
<th>Col1</th>
<th>col2</th>
</thead>
<tbody>
<tr>
<td>11</td>
<td>12</td>
</tr>
</tbody>
</table>
<script id="jsbin-javascript">
$(document).ready(function() {
var table = $('#dtTable').dataTable();
// console.log(table);
} );
</script>
<script id="jsbin-source-javascript" type="text/javascript">$(document).ready(function() {
var table = $('#dtTable').dataTable();
// console.log(table);
} );</script></body>
</html>
$(document).ready(function() {
var table = $('#dtTable').dataTable();
// console.log(table);
} );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment