page number datatable code example Example: datatable get page number let table = $('#example').DataTable(); let info = table.page.info().page;