copy dari repo om Irfan
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
|
||||
(function( $ ) {
|
||||
|
||||
'use strict';
|
||||
|
||||
var datatableInit = function() {
|
||||
|
||||
var $table = $('#datatable-ajax');
|
||||
$table.dataTable({
|
||||
bProcessing: true,
|
||||
sAjaxSource: $table.data('url')
|
||||
});
|
||||
|
||||
};
|
||||
|
||||
$(function() {
|
||||
datatableInit();
|
||||
});
|
||||
|
||||
}).apply( this, [ jQuery ]);
|
||||
Reference in New Issue
Block a user