Menu
Buy Now »

Console object

All JavaScript scripts are executed as the result of a particular event occurring. For each of these events, JavaScript will create an event object that can be used to get and update information about the current state of the event.

Example: Executing this JavaScript on the keystroke event will change any input from the user to uppercase.

event.change = event.change.toUpperCase();

The console object supports all properties and methods included in the Acrobat JavaScript specification.