I would like to save in the page variable the current page value of a table using the DataTable plugin, because of their documentation I believe it is more or less like this, but it is not working.
var table = $('#myTable').DataTable();
var pagina = table.page();