Page 1 of 1

Browse pages - last page value

Posted: Wed May 22, 2019 8:55 am
by Janusz
In the Browse form I can go to any page wih nuGetPage(x).
But how to get in JavaScript the value of the last page of the actual form?

Re: Browse pages - last page value

Posted: Wed May 22, 2019 9:00 am
by kev1n

Code: Select all

var lastPage = $('#nuBrowseFooter').text().match(/[0-9]+/g);
alert(lastPage);

Re: Browse pages - last page value

Posted: Wed May 22, 2019 9:06 am
by Janusz
Thanks a lot - works fine.

Re: Browse pages - last page value

Posted: Thu May 23, 2019 1:20 am
by admin
.