Setting the current page using javascript.
Posted: Thu Mar 16, 2023 5:01 pm
Hi,
I'm using some custom controls to next, previous, first and last page, I dont know if what I'm doing is correct :
But that works.
I could not find a way to set the current page dinamically using javascript.
Y found the control:
But still , cant make it work.
Thanks
I'm using some custom controls to next, previous, first and last page, I dont know if what I'm doing is correct :
Code: Select all
viewer.jsObject.controls.buttons.FirstPage.action();
I could not find a way to set the current page dinamically using javascript.
Y found the control:
Code: Select all
viewer.jsObject.controls.textBoxes.PageControl
Thanks