How to set active page number for a document ?
Question asked by Sze Hoo Tan - 1/16/2021 at 9:25 AM
I think there is one important feature which is not documented in any of the documentation for DocumentUltimate. How do I programmatically "jump" to a certain page. (ie. page number 3).    There seems to be no way to set the active page.

I tried to use a workaround to use javascript to set the page number like this, but it isn't working. I managed to get the page number into the pg number textbox, but I can't seem to simulate the "enter" keypress to make it jump to that page:

<script type="text/javascript">
            function setDocumentActivePage(pgNumber)
                var iframe = document.getElementsByTagName('iframe')[0];
                var innerDoc = iframe.contentDocument || iframe.contentWindow.document;
                var input = innerDoc.getElementById('pageNumberBox');
                input.value = pgNumber;

Would appreciate any help

1 Reply

Reply to Thread
Sze Hoo Tan Replied
Hi there, any response please ?

Reply to Thread