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