$(document).ready(function() { $('#logtable').DataTable(); });