how to determine the current page of a table

how to determine the current page of a table

izumovizumov Posts: 178Questions: 14Answers: 0

need to determine the number of the current page of the table so that when it returns to the html page it is displayed
I tried to solve this problem , but failed

var table=$('#orders').dataTable();
 var info = table.page.info();

what is my mistake and how to correctly determine the current page

Replies

This discussion has been closed.