how to determine the current page of a table
how to determine the current page of a table

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
This discussion has been closed.
Replies
https://datatables.net/reference/api/page()
my new code
The interpreter gives an error "table.page is not a function".What is the problem, what should be the correct code?
just did this with one of my own tables. And I had absolutely no issues:
Please see this FAQ:
https://datatables.net/faqs/index#api
Kevin
my test case is http://montaj.vianor-konakovo.ru/goods_new111.html infilegoods1003_new.is in row 312,313 I recorded var table=$('#orders').DataTable();
var page=table.page();and didn’t get the page. What is the problem? I need that when changing the current page, I determine the page from which the transition was made