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?
Welcome to the nuBuilder Forums!
Register and log in to access exclusive forums and content available only to registered users.
Register and log in to access exclusive forums and content available only to registered users.
Browse pages - last page value
-
- nuBuilder Team
- Posts: 4305
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 446 times
- Contact:
Re: Browse pages - last page value
Code: Select all
var lastPage = $('#nuBrowseFooter').text().match(/[0-9]+/g);
alert(lastPage);
-
- nuBuilder Team
- Posts: 506
- Joined: Fri Dec 28, 2018 1:41 pm
- Location: Krakow, Poland
- Has thanked: 8 times
- Been thanked: 18 times
Re: Browse pages - last page value
Thanks a lot - works fine.
If you like nuBuilder, please leave a review on SourceForge