i want to show my input data from DB...i'm interest for using jquery dataTable... i have been type some code but it seems not like what i want..i put inside tabs. and table head not show..it's so ugly..
<table cellpadding="0" cellspacing="0" border="0" class="display" id="datalist">
<thead>
<tr>
<th>Line </th>
<th>Model </th>
<th>Serial Number </th>
<th>NIK </th>
<tr>
<thead>
<tbody>
</tbody>
</table>
<script>
var oTable;
$(document).ready(function(){
oTable= $('#datalist').dataTable( {
"bServerSide": true,
"bProcessing": true,
"sAjaxSource": 'process1.php',
"aaSorting" : [[1, "desc"]],
"aoColumns" : [
/*Line*/ null,
/*Model*/ null,
/*Serial Number*/ null,
/*NIK*/ null
]
} );
});
</script>
what must i do?please help..