Is it possible to hide a page in a PDF document using javascript?
If there is, it would be through the acrobat javascript API:
http://www.adobe.com/devnet/acrobat/javascript.html
You can also use Layers to hide content in PDF files.
HTML JavaScript cannot access objects within a PDF file.
This might be a start for you on the Acrobat Javascript http://partners.adobe.com/public/developer/en/acrobat/sdk/AcroJSGuide.pdf
How can I hide an Acrobat form field based on the value of another?
Use the display method of the Global object:
var title = this.getField("title");
if (this.getField("showTitle").value == "Off")
title.display = display.hidden;
else
title.display = display.visible;
精彩评论