Use JavaScript Actions
You can add functionality and interactivity to your PDF document by creating JavaScript code to access database information, control document navigation, access information from the Internet, and more.
JavaScript is an object-oriented programming language. If you have designed web pages, you may be familiar with JavaScript. Each JavaScript object has associated methods and properties. Acrobat JavaScript uses standard JavaScript objects and has its own set of unique objects, such as the Bookmark object. Unfortunately, a detailed discussion of using JavaScript with Acrobat is beyond the scope of this book.
Create a JavaScript Action
You can use the JavaScript Action with form fields, bookmarks, and links, or you can create ...
Get How to Do Everything Adobe Acrobat X now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.