Thank you very much.I had to go to the immediate page after the page where its clicked."xfa.host.currentPage = xfa.host.numPages - 1; " was taking me to the last but one page. For Ex: if there are 10 pages and i click on 3rd page, it takes me to 9th.So i setxfa.host.currentPage = xfa.host.currentPag...