Skip to content

Instantly share code, notes, and snippets.

@hasanbasri1993
Created May 14, 2020 16:28
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 hasanbasri1993/431841e01ffa93c9baf59c75d769e7e7 to your computer and use it in GitHub Desktop.
Save hasanbasri1993/431841e01ffa93c9baf59c75d769e7e7 to your computer and use it in GitHub Desktop.
replace dengan ini
let status_exam = $('#tablestatus').DataTable({
"serverSide": true,
"stateSave": true,
"lengthMenu": [[10, 25, 50, -1], [10, 25, 50, "kabehlah"]],
"ajax": "<?= $homeurl ?>/admin/server_side_status.php?id=76310EEFF2B5D3C887F238976A421B638CFEB0942AB8249CD0A29B125C91B3E5"
});
setInterval(function () {
status_exam.ajax.reload();
}, 1000);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment